diff options
Diffstat (limited to 'railties/lib')
3 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/generators/erb/mailer/mailer_generator.rb b/railties/lib/generators/erb/mailer/mailer_generator.rb index 286e6ae70a..73db3d2484 100644 --- a/railties/lib/generators/erb/mailer/mailer_generator.rb +++ b/railties/lib/generators/erb/mailer/mailer_generator.rb @@ -1,7 +1,7 @@ module Erb module Generators class MailerGenerator < Base - argument :actions, :type => :array, :default => [] + argument :actions, :type => :array, :default => [], :banner => "method method" def create_view_folder empty_directory File.join("app", "views", file_path) diff --git a/railties/lib/generators/rails/mailer/mailer_generator.rb b/railties/lib/generators/rails/mailer/mailer_generator.rb index 15140f2127..6e7e6e811e 100644 --- a/railties/lib/generators/rails/mailer/mailer_generator.rb +++ b/railties/lib/generators/rails/mailer/mailer_generator.rb @@ -1,7 +1,7 @@ module Rails module Generators class MailerGenerator < NamedBase - argument :actions, :type => :array, :default => [] + argument :actions, :type => :array, :default => [], :banner => "method method" def check_class_collision class_collisions class_name diff --git a/railties/lib/generators/test_unit/mailer/mailer_generator.rb b/railties/lib/generators/test_unit/mailer/mailer_generator.rb index 125371b173..84e3024427 100644 --- a/railties/lib/generators/test_unit/mailer/mailer_generator.rb +++ b/railties/lib/generators/test_unit/mailer/mailer_generator.rb @@ -1,7 +1,7 @@ module TestUnit module Generators class MailerGenerator < Base - argument :actions, :type => :array, :default => [] + argument :actions, :type => :array, :default => [], :banner => "method method" def create_test_files template "unit_test.rb", File.join('test', 'unit', class_path, "#{file_name}_test.rb") |