Files
grecia/config/routes/debate.rb
Javi Martín 3752fef6bf Remove map page in debates
The map feature was never implemented for debates (only for proposals
and budget investments) and it was crashing for debates because the page
didn't load the geozones. And we don't have a "geozone" field in the
debates form either.

So we're removing the map page alongside its (pending implementation)
tests.
2022-04-07 15:34:07 +02:00

15 lines
282 B
Ruby

resources :debates do
member do
post :vote
put :flag
put :unflag
put :mark_featured
put :unmark_featured
end
collection do
get :suggest
put "recommendations/disable", only: :index, controller: "debates", action: :disable_recommendations
end
end