lib/generators/effective/menu_generator.rb in effective_developer-0.1.1 vs lib/generators/effective/menu_generator.rb in effective_developer-0.2
- old
+ new
@@ -68,10 +68,10 @@
" %li= link_to '#{resource.plural_name.titleize}', #{resource.index_path}"
]
end
def effective_menus_content
- "item '#{resource.plural_name.titleize}', :#{resource.plural_name}_path"
+ "item '#{resource.plural_name.titleize}', :#{resource.index_path}"
end
end
end
end