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.
peter.fitzgibbons (Guest)
on 2005-11-23 22: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?

francois.beausoleil (Guest)
on 2005-11-23 23:09
(Received via mailing list)
Use #prepend_before_filter

Hope that helps !

2005/11/23, Peter F. <removed_email_address@domain.invalid>:
This topic is locked and can not be replied to.