Sha256: 4479a78670b487147c1938aea6240dfff2ae912b098f7824f4f5987a6c009280

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

RailsExecution::Engine.routes.draw do
  root to: 'dashboards#home'

  resource :dashboards, only: [] do
    get :insights
  end

  resources :tasks do
    member do
      get :fork
      patch :reopen
      patch :reject
      patch :approve
      patch :execute
      patch :execute_in_background
    end

    collection do
      get :completed
      get :closed
    end

    resources :comments, only: [:create, :update, :destroy]
  end
  resources :labels, only: [:create]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_execution-0.1.11 config/routes.rb
rails_execution-0.1.10 config/routes.rb
rails_execution-0.1.9 config/routes.rb
rails_execution-0.1.8 config/routes.rb
rails_execution-0.1.7 config/routes.rb