trabajo-afectivo/config/routes/link.rb

11 lines
280 B
Ruby
Raw Normal View History

module ExtraRoutes
def add(map)
# links
map.match '/links', :to => 'links#index'
map.match '/links/add', :to => 'links#add'
map.match '/links/remove', :to => 'links#remove'
end
module_function :add
end