[Catalyst] action_for with user_id removed ...

2010-02-01 Thread Kiffin Gish
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

Re: [Catalyst] action_for with user_id removed ...

2010-02-01 Thread Octavian Rasnita
From: Kiffin Gish kiffin.g...@planet.nl 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

Re: [Catalyst] action_for with user_id removed ...

2010-02-01 Thread Kiffin Gish
Then to make my story complete, I just snip out the part of the action chain that extracts the id, and hook up the loose ends. Very elegant! On Mon, 2010-02-01 at 20:38 +0200, Octavian Rasnita wrote: From: Kiffin Gish kiffin.g...@planet.nl I have a number of user-defined actions which are