From 1c9776fcb433309dd3d1ee72f311860538c5f404 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 29 May 2013 17:11:34 +0200 Subject: [PATCH] Prepard for rails 4. --- config/routes/tag.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/routes/tag.rb b/config/routes/tag.rb index e6a615ace..dc40d1727 100644 --- a/config/routes/tag.rb +++ b/config/routes/tag.rb @@ -2,10 +2,10 @@ module ExtraRoutes def add(map) # links - map.match '/api/tags', :to => 'tags#list' - map.match '/api/tags/add', :to => 'tags#add' - map.match '/api/tags/remove', :to => 'tags#remove' + map.match '/api/tags', :to => 'tags#list', :via => :get + map.match '/api/tags/add', :to => 'tags#add', :via => :get + map.match '/api/tags/remove', :to => 'tags#remove', :via => :get end module_function :add -end \ No newline at end of file +end