diff options
author | Andy Jeffries <andy@andyjeffries.co.uk> | 2014-11-24 09:37:32 +0000 |
---|---|---|
committer | Andy Jeffries <andy@andyjeffries.co.uk> | 2014-11-24 09:37:49 +0000 |
commit | a58da25d90962a39ad916fc4de22a0a0c81ba034 (patch) | |
tree | 7eba388d3e4642007514acb1201ffdbbfabda037 /actionmailer | |
parent | 38cfaa828502b2f5d137a6a2952c68ae5efc15b1 (diff) | |
download | rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.tar.gz rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.tar.bz2 rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.zip |
Removing unnecessary File.join calls
Diffstat (limited to 'actionmailer')
-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 97a01f9ef3..094ec85114 100644 --- a/actionmailer/lib/rails/generators/mailer/mailer_generator.rb +++ b/actionmailer/lib/rails/generators/mailer/mailer_generator.rb @@ -8,7 +8,7 @@ module Rails def create_mailer_file template "mailer.rb", File.join('app/mailers', class_path, "#{file_name}.rb") - template "application_mailer.rb", File.join('app/mailers/application_mailer.rb') + template "application_mailer.rb", 'app/mailers/application_mailer.rb' end hook_for :template_engine, :test_framework |