From 5bd311ceea770918771b5adc94f246d51fd74230 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 5 Jan 2013 22:41:19 -0500 Subject: [PATCH] added route to config/routes.rb for removing synapse mappings. It's not actually defined in the controller though.... --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) 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