REST and special URLs

Hi all,

I want to start using some REST in my design. I have build a restfull
controller and try to link to it in my view. The problem is that my
URLs all have something extra added (a session value). When I use the
restfull link (eg: new_user_url) it links to but it
should actualy be .

How can I add that string (from session) to the url?


Try setting a path_prefix to something like ':token' on your routes.