summaryrefslogtreecommitdiff
path: root/engines/support/config/routes.rb
blob: ca471b3e57c6d87bde5b6b81b1f3cc4e98115430 (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: MATCH_LOCALE do

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

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

  end
end