route /login managed through vue router
This commit is contained in:
parent
5b3549068b
commit
de52c5e6be
4 changed files with 41 additions and 32 deletions
|
|
@ -1,7 +1,15 @@
|
|||
<?php
|
||||
|
||||
if (!$kirby->user()) {
|
||||
return json_encode([
|
||||
'page' => $genericData,
|
||||
'user' => []
|
||||
]);
|
||||
}
|
||||
|
||||
function getProjectData($project)
|
||||
{
|
||||
{
|
||||
|
||||
$data = [
|
||||
'title' => $project->title()->value(),
|
||||
'url' => $project->url(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue