Add missing rule for /api/users/show.:format

This commit is contained in:
Zach Copley 2009-12-01 10:02:22 -08:00
parent 4003e51b91
commit 7591439451

View File

@ -358,6 +358,10 @@ class Router
// users
$m->connect('api/users/show.:format',
array('action' => 'ApiUserShow',
'format' => '(xml|json)'));
$m->connect('api/users/show/:id.:format',
array('action' => 'ApiUserShow',
'id' => '[a-zA-Z0-9]+',