Fixed route to custom_urls#administrate

This commit is contained in:
Absurdon 2017-11-09 21:02:11 +01:00 committed by Absurdon
parent 8e58a30285
commit 826614a92c

View file

@ -136,7 +136,7 @@ Ensl::Application.routes.draw do
match "votes/create"
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]
get ":name", to: "custom_urls#show", requirements: {name: /\A[a-z\-]{2,10}\Z/}