lib/generators/cambium/templates/app/helpers/admin_helper.rb in cambium-0.2.2 vs lib/generators/cambium/templates/app/helpers/admin_helper.rb in cambium-0.3.0
- old
+ new
@@ -78,10 +78,10 @@
end
# --------------------------------- Nav
def admin_nav_items
- [
+ items = [
{
:label => 'Users',
:icon => 'user',
:path => admin_users_path,
:controllers => ['users']