Update SpaController.php

This commit is contained in:
Shlee 2022-05-17 18:04:21 +09:30 committed by GitHub
parent cb2e0fee3a
commit f47ed7bdd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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