Prepard for rails 4.

This commit is contained in:
Martin Edenhofer 2013-05-29 17:11:34 +02:00
parent 0270950044
commit 1c9776fcb4

View file

@ -2,10 +2,10 @@ module ExtraRoutes
def add(map) def add(map)
# links # links
map.match '/api/tags', :to => 'tags#list' map.match '/api/tags', :to => 'tags#list', :via => :get
map.match '/api/tags/add', :to => 'tags#add' map.match '/api/tags/add', :to => 'tags#add', :via => :get
map.match '/api/tags/remove', :to => 'tags#remove' map.match '/api/tags/remove', :to => 'tags#remove', :via => :get
end end
module_function :add module_function :add
end end