mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 21:31:28 +00:00
Add more missing routes
This commit is contained in:
parent
63b20f4046
commit
6c780c84db
1 changed files with 6 additions and 2 deletions
|
@ -69,8 +69,12 @@ Ensl::Application.routes.draw do
|
|||
resources :predictions
|
||||
resources :rounds
|
||||
resources :matches do |m|
|
||||
get :admin, to: "matches#admin", on: :collection
|
||||
get :ref, to: "matches#ref"
|
||||
member do
|
||||
get :ref
|
||||
end
|
||||
collection do
|
||||
get :admin
|
||||
end
|
||||
resources :match_proposals, path: "proposals", as: :proposals, only: [:index, :new, :create, :update]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue