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 /railties/lib/rails/generators | |
parent | 38cfaa828502b2f5d137a6a2952c68ae5efc15b1 (diff) | |
download | rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.tar.gz rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.tar.bz2 rails-a58da25d90962a39ad916fc4de22a0a0c81ba034.zip |
Removing unnecessary File.join calls
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/erb/mailer/mailer_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/mailer/mailer_generator.rb b/railties/lib/rails/generators/erb/mailer/mailer_generator.rb index b047973241..1e290bb938 100644 --- a/railties/lib/rails/generators/erb/mailer/mailer_generator.rb +++ b/railties/lib/rails/generators/erb/mailer/mailer_generator.rb @@ -7,7 +7,7 @@ module Erb # :nodoc: view_base_path = File.join("app/views", class_path, file_name) empty_directory view_base_path - layout_base_path = File.join("app/views/layouts") + layout_base_path = "app/views/layouts" actions.each do |action| @action = action |