trabajo-afectivo/config/routes/search.rb

9 lines
181 B
Ruby
Raw Normal View History

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