From c41334d2f52440b7e7acf3c00d73551956add49d Mon Sep 17 00:00:00 2001 From: Felipe Bombardelli <felipebombardelli@gmail.com> Date: Thu, 15 Oct 2015 17:24:44 -0300 Subject: [PATCH] add the route to search#autocomplete --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 6f268e93..9cd06045 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -47,4 +47,6 @@ Rails.application.routes.draw do get '/search' => 'search#index', as: 'search' get '/search/fetch' => 'search#fetch', as: 'search_fetch' + get '/autocomplete' => 'search#autocomplete' + end -- GitLab