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