Sha256: c135942aafadc45321a8ef6155a50e8c544dbb9ba913fd046b2eadf660bb7d0e

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

Dorsale::Engine.routes.draw do
  resources :comments, only: [:create, :edit, :update, :destroy]

  resources :users, except: [:destroy]

  namespace :small_data do
    resources :filters, only: [:create]
  end



  namespace :alexandrie do
    resources :attachments, only: [:create, :edit, :update, :destroy]
  end

  namespace :flyboy do
    resources :folders do
      member do
        patch :open
        patch :close
      end
    end

    resources :tasks do
      get :summary, on: :collection
      member do
        patch :complete
        patch :snooze
      end
    end

    resources :task_comments, only: [:create]
  end

  namespace :billing_machine do
    resources :invoices, except: [:destroy] do
      member do
        get :copy
        patch :pay
      end
    end

    resources :quotations do
      post :copy, on: :member
      post :create_invoice, on: :member
    end
  end

  namespace :customer_vault do
    resources :corporations, except: [:index] do
      resources :links, except: [:index]
    end

    resources :individuals, :except => [:index] do
      resources :links, except: [:index]
    end

    namespace :people do
      get "/", action: "index"
      get :activity
      get :list
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dorsale-2.2.5 config/routes.rb
dorsale-2.2.4 config/routes.rb
dorsale-2.2.3 config/routes.rb