mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Fix global search [SCI-1411]
This commit is contained in:
parent
f7cef48f9f
commit
21cce4baa0
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
class SearchController < ApplicationController
|
class SearchController < ApplicationController
|
||||||
before_filter :load_vars, only: :index
|
before_action :load_vars, only: :index
|
||||||
|
|
||||||
def index
|
def index
|
||||||
redirect_to new_search_path unless @search_query
|
redirect_to new_search_path unless @search_query
|
||||||
|
|
Loading…
Reference in a new issue