On Jueves, 22 de Septiembre de 2011 15:46:02 duker_48 escribió:
> Hey I'm looking into creating a password reset action link for a users
> list and was wondering if its possible to just have the action link
> run the reset password function and not render a new view.  I want to
> just stay on the users list page, and maybe have the a success message
> show at the top.

Set position of action link to nil, so ActiveScaffold doesn't expect request 
return a view. In the action you can use render :nothing => true, or render 
javascript code to show a successful or error message.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to