diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-22 19:54:14 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-22 21:07:37 +0100 |
commit | fb89aba8b45bc5adbd3181ebb2e92ec99e63f821 (patch) | |
tree | 94c7b6011d959bd749e54af493b1667c8fd8c0d8 /railties/lib/generators/erb | |
parent | d289e15af9b2749ba0ab9534b5469287be6ece05 (diff) | |
download | rails-fb89aba8b45bc5adbd3181ebb2e92ec99e63f821.tar.gz rails-fb89aba8b45bc5adbd3181ebb2e92ec99e63f821.tar.bz2 rails-fb89aba8b45bc5adbd3181ebb2e92ec99e63f821.zip |
Killing fixtures in mailer before they kill me (they usually lead to very brittle tests).
Diffstat (limited to 'railties/lib/generators/erb')
-rw-r--r-- | railties/lib/generators/erb/controller/controller_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/erb/controller/controller_generator.rb b/railties/lib/generators/erb/controller/controller_generator.rb index d78bcba1b8..b8e8898900 100644 --- a/railties/lib/generators/erb/controller/controller_generator.rb +++ b/railties/lib/generators/erb/controller/controller_generator.rb @@ -11,7 +11,7 @@ module Erb actions.each do |action| @action = action - @path = filename_with_extensions(File.join(base_path, action)) + @path = File.join(base_path, filename_with_extensions(action)) template filename_with_extensions(:view), @path end end |