Changed correct dashboard route and introduced a stripped down version of the pagesettings helper class from the main CMS codebase, in order to maintain compatability/functionality
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
2025-05-05 19:12:42 +02:00
parent e15d3ae146
commit 3c49569962
11 changed files with 390 additions and 13 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Helpers;
class PageSettingsHelper
{
public static function pageSettings(): array {
return config('standard-pagesettings.defaults');
}
public static function get(string $key): string {
// Get first result from database
$settings = config('standard-pagesettings.defaults');
return $settings[$key];
}
}