Permalink
Browse files

Merge branch 'master' of git://github.com/ryanb/nifty-generators

  • Loading branch information...
2 parents c3eeaeb + e29cae6 commit e54c13e36bcfc608cac6a0b6cad9cf4993f5cb80 Andrey Ognevsky committed Jun 30, 2011
@@ -12,7 +12,7 @@ class ScaffoldGenerator < Base
argument :args_for_c_m, :type => :array, :default => [], :banner => 'controller_actions and model:attributes'
class_option :skip_model, :desc => 'Don\'t generate a model or migration file.', :type => :boolean
- class_option :skip_migration, :desc => 'Dont generate migration file for model.', :type => :boolean
+ class_option :skip_migration, :desc => 'Don\'t generate migration file for model.', :type => :boolean
class_option :skip_timestamps, :desc => 'Don\'t add timestamps to migration file.', :type => :boolean
class_option :skip_controller, :desc => 'Don\'t generate controller, helper, or views.', :type => :boolean
class_option :invert, :desc => 'Generate all controller actions except these mentioned.', :type => :boolean
@@ -4,8 +4,8 @@
# helper :layout
module LayoutHelper
def title(page_title, show_title = true)
- @content_for_title = page_title.to_s
@show_title = show_title
+ @content_for_title = page_title.to_s
end
def show_title?

0 comments on commit e54c13e

Please sign in to comment.