summaryrefslogtreecommitdiff
path: root/controllers/controllers.php
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/controllers.php')
-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();