trabajo-afectivo/config/routes/tag.rb

12 lines
328 B
Ruby
Raw Normal View History

2012-11-18 11:06:55 +00:00
module ExtraRoutes
def add(map)
# links
2013-05-29 15:11:34 +00:00
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
2012-11-18 11:06:55 +00:00
end
module_function :add
2013-05-29 15:11:34 +00:00
end