mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 19:01:39 +00:00
Fix help button.
This commit is contained in:
@@ -68,6 +68,7 @@ class Controller extends BaseController
|
||||
// get shown-intro-preference:
|
||||
if (auth()->check()) {
|
||||
$route = Route::currentRouteName();
|
||||
$originalRoute = $route;
|
||||
$route = str_replace('.', '_', $route);
|
||||
$key = 'shown_demo_' . $route;
|
||||
$config = config('intro.' . $route);
|
||||
@@ -78,6 +79,7 @@ class Controller extends BaseController
|
||||
}
|
||||
View::share('shownDemo', $shownDemo);
|
||||
View::share('current_route_name', $route);
|
||||
View::share('original_route_name', $originalRoute);
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
Reference in New Issue
Block a user