diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-12-15 13:49:31 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-12-15 13:49:31 -0800 |
commit | 64452d3d6c58cf12abbef83d0e09ca8404fcfcbd (patch) | |
tree | c6ec13c1455d139c1df748d2b909ea0f212ad919 /controllers/controllers.php | |
parent | d3e523b990a7b59bcfb82eae338271e3a2e99899 (diff) |
add h-review interface
Diffstat (limited to 'controllers/controllers.php')
-rw-r--r-- | controllers/controllers.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php index 78e5016..d6cad4f 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -178,6 +178,18 @@ $app->get('/photo', function() use($app) { } }); +$app->get('/review', function() use($app) { + if($user=require_login($app)) { + $params = $app->request()->params(); + + $html = render('review', array( + 'title' => 'Review', + 'authorizing' => false + )); + $app->response()->body($html); + } +}); + $app->get('/repost', function() use($app) { if($user=require_login($app)) { $params = $app->request()->params(); |