Hi,
In my zend framework application, I have routes and defaults like:
resources.router.routes.plain.defaults.module = "index"
resources.router.routes.plain.defaults.controller = "index"
resources.router.routes.plain.defaults.action = "index"
I want to be able to change default routes for any module or controller or action e.g.
Let's assume this module/controller/action structure:
content --- article --- read
--- write
--- news --- list
--- write
user --- auth --- signin
--- signout
--- access --- check
--- update
in this architecture,
for module=content I want
controller=article to be default controller and
action=read to be default action.
if controller=news is chosen then action=list becomes default action
for module= user I want controller=auth to be default controller and action=signin to be default action. if controller=access is chosen then action=check becomes default action.
So is it possible to do this in application.ini? And how for this example?
Thanks in advance.