Forum: Ruby on Rails How to set flash for before_filter :login_system ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3203ed0e608d3bfae1e31282e629ffa2?d=identicon&s=25 peter.fitzgibbons (Guest)
on 2005-11-23 21:41
(Received via mailing list)
Hello all,
I'm using Login Generator ACL
I want to know if there is a way to set the flash(:notice) before the
before_filter is processed so that the flash() is available on my login
IE: "regular" user changes URL to an "admin" page, then I want the
flash to say "Please login as administrator to access that page." or
something else.

What can I do?

3dd4b52a0946bd698b1d1635a46ea3a3?d=identicon&s=25 francois.beausoleil (Guest)
on 2005-11-23 22:09
(Received via mailing list)
Use #prepend_before_filter

Hope that helps !

2005/11/23, Peter Fitzgibbons <>:
This topic is locked and can not be replied to.