From: Zach Copley Date: Thu, 25 Jun 2009 21:05:06 +0000 (-0700) Subject: Add attachment action back into router X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4662a4fa0dfe93d3819b9ffcae715fc465384a63;p=quix0rs-gnu-social.git Add attachment action back into router --- 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]+'));