1
0
Fork 0
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:
Santiago Pastorino 2015-05-13 16:33:33 -03:00
parent b6c270fb62
commit 846f35203d
2 changed files with 2 additions and 2 deletions

View file

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

View file

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