added admin part with password protected map and supporter list UNTESTED

This commit is contained in:
2016-04-18 08:45:50 +02:00
parent 2108e4435e
commit 52a98021d2
6 changed files with 40 additions and 1 deletions
+6 -1
View File
@@ -5,5 +5,10 @@ Rails.application.routes.draw do
get '/thanks', to: 'pages#thanks', as: :thanks
get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete
get '/map', to: 'pages#map', as: :map
namespace :admin do
get '/map', to: 'pages#map', as: :map
resources :supporters, only: :index
end
end