mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix class_option description for api generators
This commit is contained in:
parent
b6c270fb62
commit
846f35203d
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ module Rails
|
|||
class_option :orm, banner: "NAME", type: :string, required: true,
|
||||
desc: "ORM to generate the controller for"
|
||||
class_option :api, type: :boolean,
|
||||
desc: "Preconfigure smaller stack for API only apps"
|
||||
desc: "Generates API controller"
|
||||
|
||||
argument :attributes, type: :array, default: [], banner: "field:type field:type"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ module TestUnit # :nodoc:
|
|||
check_class_collision suffix: "ControllerTest"
|
||||
|
||||
class_option :api, type: :boolean,
|
||||
desc: "Preconfigure smaller stack for API only apps"
|
||||
desc: "Generates API functional tests"
|
||||
|
||||
argument :attributes, type: :array, default: [], banner: "field:type field:type"
|
||||
|
||||
|
|
Loading…
Reference in a new issue