Skip to content

Instantly share code, notes, and snippets.

@mrvdb
Created March 26, 2013 15:09
Show Gist options
  • Save mrvdb/5246086 to your computer and use it in GitHub Desktop.
Save mrvdb/5246086 to your computer and use it in GitHub Desktop.
diff --git a/lib/router.php b/lib/router.php
index c3885d5..72c9435 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -393,6 +393,10 @@ class Router
array('action' => 'ApiTimelineMentions',
'format' => '(xml|json|rss|atom|as)'));
+ $m->connect('api/statuses/mentions_timeline.:format',
+ array('action' => 'ApiTimelineMentions',
+ 'format' => '(xml|json|rss|atom|as)'));
+
$m->connect('api/statuses/replies/:id.:format',
array('action' => 'ApiTimelineMentions',
'id' => Nickname::INPUT_FMT,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment