title: Yii framework: Controller/Action url & parameters
body: <p>In my application , I have <code>ApiController</code> with <code>actionUsers</code>, So in YII the path becomes <code>api/users</code>. Now in order to get certain users info , I use the following path <code>api/users/id/10</code> where 10 is the userID and <code>id</code> part of the path is basically a GET parameter (<code>api/users?id=10</code>).</p>
  
  <p>Is there any way to do the same thing without <code>id</code> part of the path, i.e. I want my path to look like <code>api/users/10</code>?</p>
  
  <p>Thank you!</p>