lib/generators/tenon/scaffold/scaffold_generator.rb in tenon-2.0.6 vs lib/generators/tenon/scaffold/scaffold_generator.rb in tenon-2.0.7
- old
+ new
@@ -97,10 +97,10 @@
end
def add_menu_item
case behavior
when :invoke
- say 'Add the following line to app/views/tenon/shared/_main_nav.html.haml:'
+ say 'You can add the following line to app/views/tenon/shared/_main_nav.html.haml:'
say " = nav_item '#{class_name.pluralize.titleize}', #{plural_name}_path, 'star'"
when :revoke
say %(Don't forget to remove the nav_item entry from app/views/tenon/shared/_main_nav.html.haml)
end
end