Hello all,
I’m using Login Generator ACL
Systemhttp://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem
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
page
?
IE: “regular” user changes URL to an “admin” page, then I want the
login’s
flash to say “Please login as administrator to access that page.” or
something else.
What can I do?
Thanks,