summaryrefslogtreecommitdiff
path: root/engines/support/config/routes.rb
blob: 5647477eaa2e481378d86ada8a4864ededdf2cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Rails.application.routes.draw do
  scope "(:locale)", locale: CommonLanguages.match_available do

    resources :tickets, except: :edit do
      member do
        patch 'open'
        patch 'close'
      end
    end

    resources :users do
      resources :tickets, except: :edit
    end

  end
end