diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-05-19 21:05:35 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-05-19 21:05:35 +0530 |
commit | 84d3f7bd097ce88bc7fb2924e6ad2afb4297d01b (patch) | |
tree | cf5d5264df5548d2e90829f9a361a13747500594 /actionmailer/lib/rails/generators/mailer | |
parent | 8d5fcb691e7496900f1c77dff8d6e729c1b56201 (diff) | |
download | rails-84d3f7bd097ce88bc7fb2924e6ad2afb4297d01b.tar.gz rails-84d3f7bd097ce88bc7fb2924e6ad2afb4297d01b.tar.bz2 rails-84d3f7bd097ce88bc7fb2924e6ad2afb4297d01b.zip |
Revert "Document Rails::Generators::MailerGenerator"
This reverts commit dfb69f2b8a85586ad70071baba416747cbb07364.
Reason: Let's not nodoc without reason.
[ci skip]
Diffstat (limited to 'actionmailer/lib/rails/generators/mailer')
-rw-r--r-- | actionmailer/lib/rails/generators/mailer/mailer_generator.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/actionmailer/lib/rails/generators/mailer/mailer_generator.rb b/actionmailer/lib/rails/generators/mailer/mailer_generator.rb index c77cb6ab5e..d5bf864595 100644 --- a/actionmailer/lib/rails/generators/mailer/mailer_generator.rb +++ b/actionmailer/lib/rails/generators/mailer/mailer_generator.rb @@ -1,13 +1,11 @@ -module Rails # :nodoc: - module Generators # :nodoc: - # Implements the Rails::Generators for creating new mailers. +module Rails + module Generators class MailerGenerator < NamedBase source_root File.expand_path("../templates", __FILE__) argument :actions, type: :array, default: [], banner: "method method" check_class_collision - # Generates the mailer file for the application. def create_mailer_file template "mailer.rb", File.join('app/mailers', class_path, "#{file_name}.rb") end |