Sha256: deede7a2b14e7fd461edb408a95957ffda67ad4dc58bd2d8469a4c34016e9728

Contents?: true

Size: 928 Bytes

Versions: 7

Compression:

Stored size: 928 Bytes

Contents

==================================================
Steps to installation:

      0. You have to have a working model to use this scaffold. So create
         your model and setup validations, relations and other stuff.

      1. Add resource to routes.rb for example in case of `car` scaffold do:

           namespace :api, :defaults => {:format => :json} do
             namespace :v1 do
               resources :cars
             end
           end

      2. The Angularjs module of your resource should be added as an dependency
         to another Angularjs module. Add it by hand or if you want to view module
         in dashboard's main page add your resource to `config/initializers/faalis.rb`
         like this:

                config.dashboard_modules = {
                    :car => {
                       :icon => "fa fa-car",
                       :sidemenu => true,
                    },
                }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
faalis-0.14.4 lib/generators/faalis/templates/js_scaffold.README
faalis-0.14.3 lib/generators/faalis/templates/js_scaffold.README
faalis-0.14.2 lib/generators/faalis/templates/js_scaffold.README
faalis-0.14.0 lib/generators/faalis/templates/js_scaffold.README
faalis-0.11.1 lib/generators/faalis/templates/js_scaffold.README
faalis-0.11.0 lib/generators/faalis/templates/js_scaffold.README
faalis-0.7.0 lib/generators/faalis/templates/js_scaffold.README