Sha256: 674dbee3826a799b1c9bbb6b3187c18a7eebdd855bf5fb929a3146938bf3d854

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 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
  end
  root to: 'operations#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_workflow-0.2.2 config/routes.rb
rails_workflow-0.2.1 config/routes.rb