From 4662a4fa0dfe93d3819b9ffcae715fc465384a63 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 25 Jun 2009 14:05:06 -0700 Subject: [PATCH] Add attachment action back into router --- lib/router.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/router.php b/lib/router.php index 1f39c60dc5..784ea98823 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]+'));