search for: store_return

Displaying 1 result from an estimated 1 matches for "store_return".

2005 Mar 28
0
Handling return from modal pages on rails
...ually derive this ID programaticaly, from the ID of the record that this link pertains to. Set it to "nil" if you don''t use it. It''ll make a garbage link if you don''t set the ID. * modal_form* creates a hidden form field named "ret", set as above. * store_return* is a filter that looks for @params[''ret''] and sets @session[''return-to''] with its value (substituting ''#L'' for the ''.L'' I used to encode the anchor). If I set store_return to be a /before filter for the application control...