routes.rb
431 Bytes
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
HeimdallEngine.load_routes
root 'application#root'
resources :bets, only: [:index] do
collection do
patch :update, as: :put
end
end
namespace :admin do
resources :pools, except: :show
resources :groups, except: :show
resources :users, except: :show
end
end