1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "Document Rails::Generators::MailerGenerator"

This reverts commit dfb69f2b8a.

Reason: Let's not nodoc without reason.

[ci skip]
This commit is contained in:
Vijay Dev 2013-05-19 21:05:35 +05:30
parent 8d5fcb691e
commit 84d3f7bd09

View file

@ -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