Sha256: dcb10607d2f926906b55015bdaaa8f1339ec615c8fd86ba2a3b358286ab73001
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
Rails.application.routes.draw do resources :re_plans do member do get 'change' get 'preview' put 'publish' put 'revert' get 'history' get 'copy' post 'duplicate' end resources :workflows, :controller => :re_plan_workflows, :except => [:index] do member do get 'change' put 'default' put 'add' put 'remove' get 'copy' post 'duplicate' end resources :rules, :controller => :re_plan_workflow_rules, :except => [:index, :show] do collection do get 'help' get 'error' end member do put 'move_up' put 'move_down' end end end end resources :re_workflows do collection do get 'add' end member do get 'plan' get 'change' get 'preview' get 'copy' post 'duplicate' end resources :rules, :controller => :re_workflow_rules, :except => [:index, :show] do collection do get 'help' get 'error' end member do put 'move_up' put 'move_down' end end end match '/re_history' => 're_history#index' match '/re_history/:id' => 're_history#show' match '/re_publications/:id' => 're_publications#show' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rules_engine-0.3.3 | config/routes.rb |
rules_engine-0.3.2 | config/routes.rb |
rules_engine-0.3.1 | config/routes.rb |
rules_engine-0.3.0 | config/routes.rb |