diff options
Diffstat (limited to 'railties/lib/generators/rails/mailer/mailer_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/mailer/mailer_generator.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/railties/lib/generators/rails/mailer/mailer_generator.rb b/railties/lib/generators/rails/mailer/mailer_generator.rb index 6e7e6e811e..1753166af5 100644 --- a/railties/lib/generators/rails/mailer/mailer_generator.rb +++ b/railties/lib/generators/rails/mailer/mailer_generator.rb @@ -2,10 +2,7 @@ module Rails module Generators class MailerGenerator < NamedBase argument :actions, :type => :array, :default => [], :banner => "method method" - - def check_class_collision - class_collisions class_name - end + check_class_collision def create_mailer_file template "mailer.rb", File.join('app/models', class_path, "#{file_name}.rb") |