mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
Code for #2389
This commit is contained in:
@@ -39,9 +39,9 @@ class SearchController extends Controller
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
app('view')->share('showCategory', true);
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-search');
|
||||
app('view')->share('title', (string)trans('firefly.search'));
|
||||
|
||||
|
Reference in New Issue
Block a user