Update SpaController.php
This commit is contained in:
parent
cb2e0fee3a
commit
f47ed7bdd1
|
@ -82,18 +82,18 @@ class SpaController extends Controller
|
||||||
return ['language' => $lang];
|
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');
|
$body = $this->markdownToHtml('views/page/privacy.md');
|
||||||
return [
|
return [
|
||||||
'body' => $body
|
'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');
|
$body = $this->markdownToHtml('views/page/terms.md');
|
||||||
return [
|
return [
|
||||||
'body' => $body
|
'body' => $body
|
||||||
|
|
Loading…
Reference in a new issue