]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/custom-head.blade.php
Updated attachment links to have dropdown for open type
[bookstack] / resources / views / common / custom-head.blade.php
index 6f88bd43f7a9cd77d8d1aec9a85c665fadb27e7c..a13215cf813c3d8e9673f2d6c2e4691cb60dfaa4 100644 (file)
@@ -1,7 +1,7 @@
 @inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
 
-@if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
-<!-- Custom user content -->
+@if(setting('app-custom-head') && !request()->routeIs('settings.category'))
+<!-- Start: custom user content -->
 {!! $headContent->forWeb() !!}
-<!-- End custom user content -->
+<!-- End: custom user content -->
 @endif
\ No newline at end of file