summaryrefslogtreecommitdiff
path: root/controllers/controllers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-12-17 15:52:33 -0800
committerAaron Parecki <aaron@parecki.com>2016-12-17 15:52:33 -0800
commit0a662e33ee432e2583a934cb161a0a1e5b49b76f (patch)
tree75b0a761d4c17a3b00f50642d068a719112a297e /controllers/controllers.php
parent926546106ef2fb35359278b9f08798310e81d8fa (diff)
move logged-out routes to new file
Diffstat (limited to 'controllers/controllers.php')
-rw-r--r--controllers/controllers.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php
index 1b832b9..09133cf 100644
--- a/controllers/controllers.php
+++ b/controllers/controllers.php
@@ -221,24 +221,6 @@ $app->post('/prefs', function() use($app) {
)));
});
-$app->get('/creating-a-token-endpoint', function() use($app) {
- $app->redirect('http://indiewebcamp.com/token-endpoint', 301);
-});
-$app->get('/creating-a-micropub-endpoint', function() use($app) {
- $html = render('creating-a-micropub-endpoint', array('title' => 'Creating a Micropub Endpoint', 'authorizing' => false));
- $app->response()->body($html);
-});
-
-$app->get('/docs', function() use($app) {
- $html = render('docs', array('title' => 'Documentation', 'authorizing' => false));
- $app->response()->body($html);
-});
-
-$app->get('/privacy', function() use($app) {
- $html = render('privacy', array('title' => 'Quill Privacy Policy', 'authorizing' => false));
- $app->response()->body($html);
-});
-
$app->get('/add-to-home', function() use($app) {
$params = $app->request()->params();
header("Cache-Control: no-cache, must-revalidate");