From 21cce4baa062eb3e43809925efbf153c75163ed1 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Wed, 28 Jun 2017 15:44:18 +0200 Subject: [PATCH] Fix global search [SCI-1411] --- app/controllers/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index db576ee32..fb473801c 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -1,5 +1,5 @@ class SearchController < ApplicationController - before_filter :load_vars, only: :index + before_action :load_vars, only: :index def index redirect_to new_search_path unless @search_query