Add map settings to backend. Install leaflet assets to render maps.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user