mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
Fixed route to custom_urls#administrate
This commit is contained in:
parent
8e58a30285
commit
826614a92c
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ Ensl::Application.routes.draw do
|
||||||
match "votes/create"
|
match "votes/create"
|
||||||
match "polls/showvotes/:id", to: "polls#showvotes", as: "polls_showvotes"
|
match "polls/showvotes/:id", to: "polls#showvotes", as: "polls_showvotes"
|
||||||
|
|
||||||
get "CustomUrls/administrate"
|
get "custom_urls", to: "custom_urls#administrate"
|
||||||
resources :custom_urls, only: [:create, :update, :destroy]
|
resources :custom_urls, only: [:create, :update, :destroy]
|
||||||
|
|
||||||
get ":name", to: "custom_urls#show", requirements: {name: /\A[a-z\-]{2,10}\Z/}
|
get ":name", to: "custom_urls#show", requirements: {name: /\A[a-z\-]{2,10}\Z/}
|
||||||
|
|
Loading…
Reference in a new issue