aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/pages.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/pages.php')
-rw-r--r--routes/pages.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/pages.php b/routes/pages.php
index 03ec4d4..418436f 100644
--- a/routes/pages.php
+++ b/routes/pages.php
@@ -16,7 +16,7 @@ Router::getInstance()->mount('/pages', function (array $args) {
// list all pages
// it would be silly to show this to logged out users honestly
UserAccount::requireByCurrentSession();
- render_template('pages_list_page');
+ render_template('pages/list_page');
});
Router::getInstance()->mount('/pages/new', function (array $args) {
@@ -48,7 +48,7 @@ Router::getInstance()->mount('/pages/new', function (array $args) {
throw new TemporaryRedirect($note->getLocalUiHref(true));
} else {
- render_template('pages_new_page');
+ render_template('pages/new_page');
}
});
@@ -72,5 +72,5 @@ Router::getInstance()->mount('/@/:handle/page/:id', function (array $args) {
if ($args['handle'] != $note->author->getFullHandle()) {
throw new TemporaryRedirect($note->getLocalUiHref(true));
}
- render_template('note_page', ['note' => $note]);
+ render_template('pages/page', ['note' => $note]);
}); \ No newline at end of file