diff --git a/config/routes.rb b/config/routes.rb index 98020f20..40c00125 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,6 +11,7 @@ ISSAD::Application.routes.draw do match 'maps/:id/savelayout', to: 'maps#savelayout', via: :put, as: :savelayout match 'maps/:id/realtime', to: 'maps#realtime', via: :get, as: :realtime match 'mappings/:map_id/:topic_id/removefrommap', to: 'topics#removefrommap', via: :get, as: :removefrommap + match 'mappings/:map_id/:synapse_id/removefrommap', to: 'synapses#removefrommap', via: :post, as: :removefrommap resource :session