forked from GNUsocial/gnu-social
Changes to router setup to make notice search RSS feed work
Conflicts: lib/router.php
This commit is contained in:
parent
148310e5fc
commit
47b89aa2c3
@ -139,7 +139,11 @@ class Router
|
||||
$m->connect('search/'.$s.'?q=:q', array('action' => $s.'search'),array('q' => '.+'));
|
||||
}
|
||||
|
||||
// The second of these is needed to make the link work correctly
|
||||
// when inserted into the page. The first is needed to match the
|
||||
// route on the way in. Seems to be another Net_URL_Mapper bug to me.
|
||||
$m->connect('search/notice/rss', array('action' => 'noticesearchrss'));
|
||||
$m->connect('search/notice/rss?q=:q', array('action' => 'noticesearchrss'),array('q' => '.+'));
|
||||
|
||||
// notice
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user