Sha256: bd50a779bb7fd4bd42422639037b5acf630ab9ec581ae05f038975a7c93ffa89

Contents?: true

Size: 1007 Bytes

Versions: 13

Compression:

Stored size: 1007 Bytes

Contents

Description:
    Install Wallaby based on the given NAME (default to 'admin').

    For example, if 'backend' is provided as NAME, this generator will carry out the following items:
    - Mounting Wallaby engine to `/backend` in `config/routes.rb`.
    - Create initializer file `config/initializers/wallaby.rb`.
    - Create basic application controller/decorator/servicer under camelized namespace `Backend`. Optionally, application authorizer and paginator can be created as well.
    - Optionally create application partials

Example:
    rails generate wallaby:install admin --include-authorizer --include-paginator --include-partials

    This will create:
    - config/initializer/wallaby.rb
    - app/controllers/admin/application_controller.rb
    - app/decorators/admin/application_decorator.rb
    - app/servicers/admin/application_servicer.rb
    - app/authorizers/admin/application_authorizer.rb
    - app/paginators/admin/application_paginator.rb
    - app/views/admin/application/_*.html.erb

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wallaby-8.0.0 lib/generators/wallaby/install/USAGE
wallaby-7.0.0 lib/generators/wallaby/install/USAGE
wallaby-7.0.0.beta2 lib/generators/wallaby/install/USAGE
wallaby-7.0.0.beta1 lib/generators/wallaby/install/USAGE
wallaby-6.1.6 lib/generators/wallaby/install/USAGE
wallaby-6.1.5 lib/generators/wallaby/install/USAGE
wallaby-6.1.4 lib/generators/wallaby/install/USAGE
wallaby-6.1.3 lib/generators/wallaby/install/USAGE
wallaby-6.1.2 lib/generators/wallaby/install/USAGE
wallaby-6.1.1 lib/generators/wallaby/install/USAGE
wallaby-6.1.0 lib/generators/wallaby/install/USAGE
wallaby-6.0.2 lib/generators/wallaby/install/USAGE
wallaby-6.0.1 lib/generators/wallaby/install/USAGE