How to set flash for before_filter :login_system?


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?



Use #prepend_before_filter

Hope that helps !

2005/11/23, Peter F. removed_email_address@domain.invalid: