mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-29 20:23:52 +08:00
da4308bb0f
- Fixed issue where redirect for `/settings` view would not be ran through base url generator so would not create a correct path in some cases. Now routed through controller with normal redirect. - Fixed custom head content being active on settings pages due to route name changes, for when viewing settings, in last release. Fixes #3356 and #3355
7 lines
258 B
PHP
7 lines
258 B
PHP
@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
|
|
|
|
@if(setting('app-custom-head') && !request()->routeIs('settings.category'))
|
|
<!-- Start: custom user content -->
|
|
{!! $headContent->forWeb() !!}
|
|
<!-- End: custom user content -->
|
|
@endif |