11 lines
280 B
Ruby
11 lines
280 B
Ruby
|
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
|