From c58485281f80b86c18ef2dbf29588b678fccffa0 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