summaryrefslogtreecommitdiff
path: root/engines/support/config/routes.rb
blob: 81bdf9a0aa1052ae1351b9e1e631df6a1eb174dd (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
        put 'open'
        put 'close'
      end
    end

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

  end
end