Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reorganize the mailer generator a bit.

  • Loading branch information...
commit 7b98d2aa59e301c91d764262bba55133fef3538a 1 parent d2a49e4
José Valim josevalim authored
0  actionmailer/lib/generators/mailer/USAGE → actionmailer/lib/rails/generators/mailer/USAGE
View
File renamed without changes
2  actionmailer/lib/generators/mailer_generator.rb → ...r/lib/rails/generators/mailer/mailer_generator.rb
View
@@ -5,7 +5,7 @@ class MailerGenerator < NamedBase
check_class_collision
def self.source_root
- File.expand_path("../mailer/templates", __FILE__)
+ File.expand_path("../templates", __FILE__)
end
def create_mailer_file
0  ...nmailer/lib/generators/mailer/templates/mailer.rb → ...r/lib/rails/generators/mailer/templates/mailer.rb
View
File renamed without changes
2  railties/test/generators/mailer_generator_test.rb
View
@@ -1,5 +1,5 @@
require 'generators/generators_test_helper'
-require 'generators/mailer_generator'
+require 'rails/generators/mailer/mailer_generator'
class MailerGeneratorTest < Rails::Generators::TestCase
Please sign in to comment.
Something went wrong with that request. Please try again.