zotonic/zotonic — pull request #864 by ddeboer (2014-11-01 10:30:37+00:00)
Title: Make menu_subtree compatible with names

Unique names should be interchangeable with resource ids. However, `menu_subtree()` with a menu structure like the following threw an error:

```erlang
[{page1,[{page1sub,[]}]},
{page2,[{page2sub,[]}]},
% etc
]
```