Sha256: b8730787dfa7ecd527336224b1fbf21ab8ad69ad499975eedb311aa06cfc6ccb
Contents?: true
Size: 930 Bytes
Versions: 3
Compression:
Stored size: 930 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/red_base.rb` like this: config.dashboard_modules = { :car => { :icon => "fa fa-car", :sidemenu => true, }, }
Version data entries
3 entries across 3 versions & 1 rubygems