Sha256: a9aae2d572149b4a0e95f60149fb1ae6edeebcb194933bf46b16c10e3cee58e1

Contents?: true

Size: 1.2 KB

Versions: 8

Compression:

Stored size: 1.2 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, :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

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-2.2.2 config/routes.rb
dorsale-2.2.1 config/routes.rb
dorsale-2.2.0 config/routes.rb
dorsale-2.1.15 config/routes.rb
dorsale-2.1.14 config/routes.rb
dorsale-2.1.13 config/routes.rb
dorsale-2.1.12 config/routes.rb
dorsale-2.1.11 config/routes.rb