Sha256: f29aece8b0561ea97e796aeda0f099e49ad6acd183bfd8a22c7c52ae59b10aac

Contents?: true

Size: 552 Bytes

Versions: 6

Compression:

Stored size: 552 Bytes

Contents

PolicyManager::Engine.routes.draw do

  resources :user_portability_requests, only: [:index, :create, :destroy]

  resources :portability_requests, only: [:index, :destroy] do
    member do
      get :confirm
    end
  end
  
  resources :categories, only: [:show, :index] do 
    resources :terms
  end

  resources :user_terms, only: [:show] do 
    collection do 
      get :pending
      put :accept_multiples
      get :blocking_terms
    end
    
    member do
      put :accept 
      put :reject 
    end
  end
  
  root 'categories#index'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdpr_rails-0.3.1 config/routes.rb
gdpr_rails-0.3.0 config/routes.rb
gdpr_rails-0.2.4 config/routes.rb
gdpr_rails-0.2.2 config/routes.rb
gdpr_rails-0.2.1 config/routes.rb
gdpr_rails-0.2.0 config/routes.rb