David Mintz wrote:
Likewise with my view action. In other words,
anyModule/anyController/(view|update)/:id. And I would like to put this
in a config. So far I've only been able to get this to work by writing
on a one-by-one basis things like
eventUpdate.route = admin/events/update/:id
eventUpdate.defaults.module = admin
eventUpdate.defaults.controller = events
eventUpdate.defaults.action = update
Try this:
eventUpdate.route = :module/:controller/:action/:id
eventUpdate.defaults.module = index
eventUpdate.defaults.controller = index
eventUpdate.defaults.action = index
eventUpdate.reqs.action = (view|update)
Remove "reqs" line if it doesn't work (it's late here and I'm half asleep ;)
David Mintz
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." --
Floyd Dell