> respond_to do |format|
>  format.html { redirect_to login_path }
>  format.js do
>    render(:update) {|page| page.redirect_to login_path}
>  end
> end

Using this i get a green backgrounf line on top of AS with this msg:

  try { window.location.href = "/login"; } catch (e) { alert('RJS
error:\n\n' + e.toString()); alert('window.location.href =
\"/login\";'); throw e }

anyway, i prefer to send a message to AS so AS can show it usign the
same style as other errors or messaes.

It is possible?

--~--~---------~--~----~------------~-------~--~----~
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