diff --git a/app/Http/Controllers/Fo/StaticPageController.php b/app/Http/Controllers/Fo/StaticPageController.php index 2371b81..8a73d8b 100644 --- a/app/Http/Controllers/Fo/StaticPageController.php +++ b/app/Http/Controllers/Fo/StaticPageController.php @@ -82,7 +82,7 @@ class StaticPageController extends Controller public function unveil(): \Illuminate\Contracts\View\View { $staticPageModel = StaticPage::query()->where('type', StaticPageType::unveil)->first(); - $sectionModels = Section::query()->where('page_id', $staticPageModel->id)->get(); + $sectionModels = Section::query()->where('page_id', $staticPageModel->getKey())->get(); $historicalMilestoneModels = HistoricalMilestone::query()->orderBy('year', 'ASC')->get(); /** @var \Illuminate\Database\Eloquent\Collection */ $siteModelList = Site::query()->orderBy('order')->get(); diff --git a/app/Http/Requests/Bo/Stickies/StoreStickyRequest.php b/app/Http/Requests/Bo/Stickies/StoreStickyRequest.php index a93592b..7533e86 100644 --- a/app/Http/Requests/Bo/Stickies/StoreStickyRequest.php +++ b/app/Http/Requests/Bo/Stickies/StoreStickyRequest.php @@ -56,7 +56,7 @@ class StoreStickyRequest extends FormRequest 'type' => trans('validation.custom.type'), 'title' => trans('validation.attributes.title'), 'anchor' => trans('validation.custom.anchor'), - 'color' => trans('validation.custom.color'), + 'color' => trans('validation.custom.color'), ]; } } diff --git a/resources/views/fo/pages/commitments.blade.php b/resources/views/fo/pages/commitments.blade.php index 4af179f..ef069a5 100644 --- a/resources/views/fo/pages/commitments.blade.php +++ b/resources/views/fo/pages/commitments.blade.php @@ -17,27 +17,29 @@ @section('content')
-