diff options
author | Aaron Parecki <aaron@parecki.com> | 2018-08-01 18:35:13 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2018-08-01 18:35:13 -0700 |
commit | 57c82d830d04cfc930bcc62bd886b9a96fb57164 (patch) | |
tree | 90bbcccec17ada5d90cc817f06548563f86c3ecf /controllers | |
parent | 782780234a4d5eefc692b14b4a620fc24444f2db (diff) |
if no syndication targets are found, hide the section
add syndication reload button to the settings screen
Diffstat (limited to 'controllers')
-rw-r--r-- | controllers/controllers.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php index cc74674..a5fb5be 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -483,6 +483,7 @@ $app->get('/settings', function() use($app) { render('settings', [ 'title' => 'Settings', 'user' => $user, + 'syndication_targets' => json_decode($user->syndication_targets, true), 'authorizing' => false ]); } |