diff options
author | Kirill Nikitin <locke23rus@gmail.com> | 2012-10-07 21:54:14 +0400 |
---|---|---|
committer | Kirill Nikitin <locke23rus@gmail.com> | 2012-10-07 21:54:14 +0400 |
commit | 96f290eac03e1241fc1e57f119eaca72b682c5af (patch) | |
tree | 893ed86433062fb3ef11e9f0e0d8d64ebbf3405e /actionmailer/lib/rails/generators/mailer | |
parent | 918f7038b3d4d4180a4d1056bb4b7b3f3b85508f (diff) | |
download | rails-96f290eac03e1241fc1e57f119eaca72b682c5af.tar.gz rails-96f290eac03e1241fc1e57f119eaca72b682c5af.tar.bz2 rails-96f290eac03e1241fc1e57f119eaca72b682c5af.zip |
Update actionmailer with new hash syntax.
Diffstat (limited to 'actionmailer/lib/rails/generators/mailer')
-rw-r--r-- | actionmailer/lib/rails/generators/mailer/mailer_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/rails/generators/mailer/mailer_generator.rb b/actionmailer/lib/rails/generators/mailer/mailer_generator.rb index dd7fa640c9..d5bf864595 100644 --- a/actionmailer/lib/rails/generators/mailer/mailer_generator.rb +++ b/actionmailer/lib/rails/generators/mailer/mailer_generator.rb @@ -3,7 +3,7 @@ module Rails class MailerGenerator < NamedBase source_root File.expand_path("../templates", __FILE__) - argument :actions, :type => :array, :default => [], :banner => "method method" + argument :actions, type: :array, default: [], banner: "method method" check_class_collision def create_mailer_file |