summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-25 11:13:13 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-25 11:13:13 -0400
commit84edf12791dc3d44625b156cda6296f1f74f8a9d (patch)
tree5de74fe285407a93c1ab6ff9270994b4512df8aa /lib/router.php
parent5f3acc252738e408ea2447b7541eae66c1e9e09a (diff)
Display thumbnail on hover over links in notices when appropriate.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 39c005609..d1e2970c5 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -159,6 +159,10 @@ class Router
array('action' => 'attachment_ajax'),
array('attachment' => '[0-9]+'));
+ $m->connect('attachment/:attachment/thumbnail',
+ array('action' => 'attachment_thumbnail'),
+ array('attachment' => '[0-9]+'));
+
/*
TODO
not used right now, will revisit later