[Catalyst] action_for with user_id removed ...
Kiffin Gish
kiffin.gish at planet.nl
Mon Feb 1 16:14:35 GMT 2010
I have a number of user-defined actions which are described with the
user id like this:
settings/user_id/(view|edit)
Where user_id is the primary key into the users resultset. However, I do
not want this to be visible to the end-user for security reasons (if I'm
admin it's alright).
Is it possible to retain these, but for users who are logged in
the /user_id/ is removed to get this visible instead:
settings/(view|edit)
Thanks alot in advance.
--
Kiffin Gish <kiffin.gish at planet.nl>
Gouda, The Netherlands
More information about the Catalyst
mailing list