mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Explicitly show --no-helper and --no-assets options in help message
I'm sorry for causing #24168. I wasn't aware of --no-helper and --no-assets. So I'm adding them to the help message. I'm still not sure how to show `--no-test-framework` though.
This commit is contained in:
parent
9339011ad1
commit
a36ef6ee3e
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ module Rails
|
|||
class ControllerGenerator < NamedBase # :nodoc:
|
||||
argument :actions, type: :array, default: [], banner: "action action"
|
||||
class_option :skip_routes, type: :boolean, desc: "Don't add routes to config/routes.rb."
|
||||
class_option :helper, type: :boolean
|
||||
class_option :assets, type: :boolean
|
||||
|
||||
check_class_collision suffix: "Controller"
|
||||
|
||||
|
|
Loading…
Reference in a new issue