Add map settings to backend. Install leaflet assets to render maps.

This commit is contained in:
Senén Rodero Rodríguez
2017-08-03 19:46:23 +02:00
parent ea5a7af5fd
commit 6c1d1c2cde
17 changed files with 202 additions and 4 deletions

View File

@@ -250,6 +250,8 @@ Rails.application.routes.draw do
end
resources :settings, only: [:index, :update]
put :update_map, to: "settings#update_map"
resources :moderators, only: [:index, :create, :destroy] do
get :search, on: :collection
end