From 4662a4fa0dfe93d3819b9ffcae715fc465384a63 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 25 Jun 2009 14:05:06 -0700 Subject: Add attachment action back into router --- lib/router.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/router.php') diff --git a/lib/router.php b/lib/router.php index 1f39c60dc..784ea9882 100644 --- a/lib/router.php +++ b/lib/router.php @@ -152,6 +152,10 @@ class Router $m->connect('search/notice/rss?q=:q', array('action' => 'noticesearchrss'), array('q' => '.+')); + $m->connect('attachment/:attachment', + array('action' => 'attachment'), + array('attachment' => '[0-9]+')); + $m->connect('attachment/:attachment/ajax', array('action' => 'attachment_ajax'), array('attachment' => '[0-9]+')); -- cgit v1.2.3-54-g00ecf