Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 410 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 410 Bytes

rest_controller_generators

Generators for creating RESTfull controllers in Rails

Description

Create a Rails RESTful controller.

Expects an ApiController to exist in the same namespace

Example

`rails generate rest_controller Api::V2::Things name description`

Generates: app/controllers/api/v2/things_controller.rb

with :name and :description as whitelisted params