Hi.

 

I'm having trouble finding documentation specific to my routing problem! I'm
developing a 'supporting image' module which other modules can essentially
plug into. The module that's 'plugging into' the supporting image module is
defined in the URI. An example:

 

http://www.domain.com/supportingimage/retrieve/list/instance/news

 

The 'instance' parameter (in this case 'news') is the module that's plugging
into the supporting image module.

 

So my question is; can I write a rule that sub directories the supporting
image controllers depending on the 'instance' parameter value? So (in this
case) rather than the default:

./app/supportingimage/controllers/ the path would become
./app/supportingimage/news/controllers/

 

Regards,

Jon

Reply via email to