diff --git a/controllers/editor.php b/controllers/editor.php index 86da9b0..191885a 100644 --- a/controllers/editor.php +++ b/controllers/editor.php @@ -3,7 +3,8 @@ $app->get('/editor', function() use($app) { $user = require_login($app, false); $html = $app->render('editor.php', [ - 'user' => $user + 'user' => $user, + 'syndication_targets' => json_decode($user->syndication_targets, true) ]); $app->response()->body($html); });