Sha256: e6470d10ee39bfa64ba6e36c47eb87fbc402f53ca86d5cde5cfc4c91cd77c624

Contents?: true

Size: 705 Bytes

Versions: 8

Compression:

Stored size: 705 Bytes

Contents

RailsWorkflow::Engine.routes.draw do

  resources :operations do
    member do
      get :complete
      get :skip
      get :continue
      put :pickup
      get :cancel
    end
  end


  resources :processes, except: [:destroy] do
    resources :errors, only: [:retry] do
      member do
        put :retry
      end
    end
    resources :operations, except: [:destroy] do
      resources :errors, only: [:retry] do
        member do
          put :retry
        end
      end
    end
  end

  resources :process_templates, path: 'config' do
    resources :operation_templates
    member do
      get :export
    end
    collection do
      post :upload
    end
  end
  root to: 'operations#index'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_workflow-0.3.7 config/routes.rb
rails_workflow-0.3.6 config/routes.rb
rails_workflow-0.3.5 config/routes.rb
rails_workflow-0.3.4 config/routes.rb
rails_workflow-0.3.3 config/routes.rb
rails_workflow-0.3.2 config/routes.rb
rails_workflow-0.3.1 config/routes.rb
rails_workflow-0.3.0 config/routes.rb