|
@ -3,7 +3,8 @@ |
|
|
$app->get('/editor', function() use($app) { |
|
|
$app->get('/editor', function() use($app) { |
|
|
$user = require_login($app, false); |
|
|
$user = require_login($app, false); |
|
|
$html = $app->render('editor.php', [ |
|
|
$html = $app->render('editor.php', [ |
|
|
'user' => $user |
|
|
|
|
|
|
|
|
'user' => $user, |
|
|
|
|
|
'syndication_targets' => json_decode($user->syndication_targets, true) |
|
|
]); |
|
|
]); |
|
|
$app->response()->body($html); |
|
|
$app->response()->body($html); |
|
|
}); |
|
|
}); |
|
|