trabajo-afectivo/config/routes/link.rb

11 lines
292 B
Ruby
Raw Normal View History

module ExtraRoutes
def add(map)
# links
2012-11-07 23:47:05 +00:00
map.match '/api/links', :to => 'links#index'
map.match '/api/links/add', :to => 'links#add'
map.match '/api/links/remove', :to => 'links#remove'
end
module_function :add
end