]> BookStack Code Mirror - bookstack/commit
Fixed settings redirect issue and custom head display
authorDan Brown <redacted>
Wed, 30 Mar 2022 18:15:24 +0000 (19:15 +0100)
committerDan Brown <redacted>
Wed, 30 Mar 2022 18:15:24 +0000 (19:15 +0100)
commitda4308bb0f692056ffc14ddb0b5881b0291b894e
tree99baa179c61f6c1f245c3350d0c4d186ca66668f
parent135022136a60d5052d4fe4ddd390f6c1baa99025
Fixed settings redirect issue and custom head display

- 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
app/Http/Controllers/SettingController.php
resources/views/common/custom-head.blade.php
routes/web.php
tests/Settings/CustomHeadContentTest.php
tests/Settings/SettingsTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.