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

This commit is contained in:
Zach Copley 2009-12-01 10:02:22 -08:00
parent 4a4d8bd271
commit 220510f372

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]+',