mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #20564 from repinel/fix-generators-named-base-template-doc
[ci skip] Fix the Rails::Generators::NamedBase#template doc
This commit is contained in:
commit
5c517ee442
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ module Rails
|
|||
parse_attributes! if respond_to?(:attributes)
|
||||
end
|
||||
|
||||
# Defines the template that would be used for the migration file.
|
||||
# The arguments include the source template file, the migration filename etc.
|
||||
# Overrides <tt>Thor::Actions#template</tt> so it can tell if
|
||||
# a template is currently being created.
|
||||
no_tasks do
|
||||
def template(source, *args, &block)
|
||||
inside_template do
|
||||
|
|
Loading…
Reference in a new issue