mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Merge pull request #3483 from shleeable/patch-18
Update SpaController.php
This commit is contained in:
commit
9784e261ea
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue