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:
parent
8d5fcb691e
commit
84d3f7bd09
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue