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.
15 lines
282 B
Ruby
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
|