summaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-12-15 13:49:31 -0800
committerAaron Parecki <aaron@parecki.com>2016-12-15 13:49:31 -0800
commit64452d3d6c58cf12abbef83d0e09ca8404fcfcbd (patch)
treec6ec13c1455d139c1df748d2b909ea0f212ad919 /controllers
parentd3e523b990a7b59bcfb82eae338271e3a2e99899 (diff)
add h-review interface
Diffstat (limited to 'controllers')
-rw-r--r--controllers/controllers.php12
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();