Notice.create :message => "text", :level => level, :global => boolean if global is true then any user can cancel that message for all users else each user must cancel the message individually
level can be "warning" or "message"
Fixed some tests Cached the admin user lookup when SETTINGS[:login] is false Now uses a before_filter in application_controller
Added a basic notice facility to foreman
Notice.create :message => "text", :level => level, :global => boolean
if global is true then any user can cancel that message for all users
else each user must cancel the message individually
level can be "warning" or "message"
Fixed some tests
Cached the admin user lookup when SETTINGS[:login] is false
Now uses a before_filter in application_controller