trabajo-afectivo/config/routes/tag.rb

11 lines
285 B
Ruby
Raw Normal View History

2012-11-18 11:06:55 +00:00
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'
end
module_function :add
end