Are you sure there's not a double redirect?  This can happen if you're using
a plugin like ssl_requirement, where the initial redirect to login_path goes
to port 80, then the plugin jumps in and redirects to the same url on port
443.

-John

On Wed, Apr 22, 2009 at 7:30 AM, Amos King <[email protected]> wrote:

>
> Should flash still be persisting through redirects?  Until the recent
> release, when I had:
>
> flash[:error] = "Foo"
> redirect_to login_url
>
> The flash would be populated and displayed on the login page.  Now the
> flash is being cleared.  Is this intentional, and if so why?
>
> --
> Amos King
> aka: Adkron
> http://dirtyInformation.com
> http://github.com/Adkron
> --
> Looking for something to do? Visit http://ImThere.com
>
> >
>


-- 
John Trupiano
President
SmartLogic Solutions
http://www.smartlogicsolutions.com
@jtrupiano

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to