summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-25 19:42:03 +0000
committerRobin Millette <millette@controlyourself.ca>2009-05-25 19:42:03 +0000
commit64d0767654d93de81a0779f04eb992c574bbdece (patch)
treeae77b68ca4af2d67ee1937275c1bd3f714e4ed3f /lib/router.php
parenta11d6260cc8dd5bd8a060f716461803f4c837387 (diff)
Removed more cruft from old attachment/attachements pages
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/router.php b/lib/router.php
index d1e2970c5..fc119821b 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -151,10 +151,6 @@ class Router
$m->connect('search/notice/rss?q=:q', array('action' => 'noticesearchrss'),
array('q' => '.+'));
-/*
- $m->connect('attachment/ajax_by_url/*url',
- array('action' => 'attachment_ajax'));
-*/
$m->connect('attachment/:attachment/ajax',
array('action' => 'attachment_ajax'),
array('attachment' => '[0-9]+'));
@@ -163,27 +159,11 @@ class Router
array('action' => 'attachment_thumbnail'),
array('attachment' => '[0-9]+'));
-/*
- TODO
- not used right now, will revisit later
- $m->connect('attachment/:attachment',
- array('action' => 'attachment'),
- array('attachment' => '[0-9]+'));
-*/
- // notice
-
$m->connect('notice/new', array('action' => 'newnotice'));
$m->connect('notice/new?replyto=:replyto',
array('action' => 'newnotice'),
array('replyto' => '[A-Za-z0-9_-]+'));
-/*
- $m->connect('notice/:notice/attachments/ajax',
- array('action' => 'attachments_ajax'),
- array('notice' => '[0-9]+'));
- $m->connect('notice/:notice/attachments',
- array('action' => 'attachments'),
- array('notice' => '[0-9]+'));
-*/
+
$m->connect('notice/:notice',
array('action' => 'shownotice'),
array('notice' => '[0-9]+'));