From f47ed7bdd1d8af629d3d762f9ff4350405470f97 Mon Sep 17 00:00:00 2001 From: Shlee Date: Tue, 17 May 2022 18:04:21 +0930 Subject: [PATCH] Update SpaController.php --- app/Http/Controllers/SpaController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/SpaController.php b/app/Http/Controllers/SpaController.php index 4cb62e73d..cf0e81352 100644 --- a/app/Http/Controllers/SpaController.php +++ b/app/Http/Controllers/SpaController.php @@ -82,18 +82,18 @@ class SpaController extends Controller return ['language' => $lang]; } - public function getPrivacy() + public function getPrivacy(Request $request) { - abort_unless($req->user(), 404); + abort_unless($request->user(), 404); $body = $this->markdownToHtml('views/page/privacy.md'); return [ 'body' => $body ]; } - public function getTerms() + public function getTerms(Request $request) { - abort_unless($req->user(), 404); + abort_unless($request->user(), 404); $body = $this->markdownToHtml('views/page/terms.md'); return [ 'body' => $body