evan108108/RESTFullYii — pull request #142 by kaushikkapil (2014-07-04 09:03:26+00:00)
Title: Added support for modules

Typically a module route is defined as "/module/controller/action". So, for API, we make it "/api/module/controller" (the action is anyways the verb)

We could not include the following two lines because it can potentially cause ambiguity:
``````
'//'=>'//view',
'//'=>'/',
``````

So, to ensure sanity, I just kept the following route definitions:
``````
'//'=>'//',
'/'=>'/',
``````

Hope this helps !