Sha256: fbf29c9b208828d4492340ed6807be14ce9a56539f8ca16de54f21573d8601e8

Contents?: true

Size: 739 Bytes

Versions: 6

Compression:

Stored size: 739 Bytes

Contents

Description:
    Stubs out a scaffolded controller, its seven RESTful actions and related
    views. Pass the model name, either CamelCased or under_scored. The
    controller name is retrieved as a pluralized version of the model name
    namespaces within Admin namespaced.

    This generates a controller class in app/controllers/admin and invokes helper,
    template engine and test framework generators.
    It uses non-namespaced model in app/models

    If you want change the prefix name 'admin' to something else you can pass --prefix_name option

Example:
    `bin/rails generate admin:scaffold_controller Post`
    `bin/rails g admin:scaffold_controller Post title:string content:text published:boolean --prefix_name=manager`

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
material_admin-0.0.2 lib/generators/admin/scaffold_controller/USAGE
material_admin-0.0.1 lib/generators/admin/scaffold_controller/USAGE
rails-admin-scaffold-0.1.0 lib/generators/admin/scaffold_controller/USAGE
rails-admin-scaffold-0.0.5 lib/generators/admin/scaffold_controller/USAGE
rails-admin-scaffold-0.0.4 lib/generators/admin/scaffold_controller/USAGE
rails-admin-scaffold-0.0.3 lib/generators/admin/scaffold_controller/USAGE