From 64452d3d6c58cf12abbef83d0e09ca8404fcfcbd Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Thu, 15 Dec 2016 13:49:31 -0800 Subject: add h-review interface --- controllers/controllers.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'controllers') 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(); -- cgit v1.2.3