Browse Source

tryin to add syndication to view

main
jk 3 years ago
parent
commit
5edcb5ee4e
  1. 3
      controllers/editor.php

3
controllers/editor.php

@ -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);
}); });

Loading…
Cancel
Save