trabajo-afectivo/config/routes/search.rb

9 lines
173 B
Ruby
Raw Normal View History

2013-05-21 22:30:09 +00:00
module ExtraRoutes
def add(map)
# search
map.match '/api/search', :to => 'search#search', :via => [:get, :post]
end
module_function :add
end