mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 21:31:28 +00:00
Fix custom urls
This commit is contained in:
parent
58d7e494cc
commit
49bc88cd69
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ Ensl::Application.routes.draw do
|
|||
get "polls/showvotes/:id", to: "polls#showvotes", as: "polls_showvotes"
|
||||
|
||||
get "custom_urls", to: "custom_urls#administrate"
|
||||
get ":name", to: "custom_urls#show", requirements: {name: /\A[a-z\-]{2,10}\Z/}
|
||||
|
||||
get ':controller/:action', requirements: { action: /A-Za-z/ }
|
||||
get ':controller/:action/:id'
|
||||
|
|
Loading…
Reference in a new issue