mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Fix small issue reenabling intro [skip ci]
This commit is contained in:
parent
19e7a76f85
commit
2c00a8353d
@ -69,6 +69,7 @@ class IntroController
|
||||
|
||||
return in_array('outro', $keys);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $route
|
||||
* @param string $specialPage
|
||||
@ -77,7 +78,8 @@ class IntroController
|
||||
*/
|
||||
public function postEnable(string $route, string $specialPage = '')
|
||||
{
|
||||
$key = 'shown_demo_' . $route;
|
||||
$route = str_replace('.', '_', $route);
|
||||
$key = 'shown_demo_' . $route;
|
||||
if ($specialPage !== '') {
|
||||
$key .= '_' . $specialPage;
|
||||
}
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
<li class="hidden-sm hidden-xs">
|
||||
<a href="#" id="help" data-route="{{ original_route_name }}" data-extra="{{ what|default("") }}">
|
||||
<i class="fa fa-question-circle" data-route="{{ original_route_name }}"></i>
|
||||
<i class="fa fa-question-circle" data-route="{{ original_route_name }}" data-extra="{{ what|default("") }}"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user