diff options
Diffstat (limited to 'railties/lib/generators/rails/resource/USAGE')
-rw-r--r-- | railties/lib/generators/rails/resource/USAGE | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/generators/rails/resource/USAGE b/railties/lib/generators/rails/resource/USAGE index 936619b0db..e359cd574f 100644 --- a/railties/lib/generators/rails/resource/USAGE +++ b/railties/lib/generators/rails/resource/USAGE @@ -18,6 +18,6 @@ Description: views or add any methods to the generated controller. Examples: - `./script/generate resource post` # no attributes - `./script/generate resource post title:string body:text published:boolean` - `./script/generate resource purchase order_id:integer amount:decimal` + `rails generate resource post` # no attributes + `rails generate resource post title:string body:text published:boolean` + `rails generate resource purchase order_id:integer amount:decimal` |