app/controllers/application_controller.rb
# Continuously display a warning message.  This is used for things like "System Shutting down at 15 past" and the
# like.  And, yes, if there's a "real" error, they miss this message.  So what?
# NOTE - you can clear this quickly with EolConfig.clear_global_site_warning
Continuously display a warning message.  This is used for things like "System Shutting down at 15 past" and the
like.  And, yes, if there's a "real" error, they miss this message.  So what.
NOTE - you can clear this quickly with EolConfig.clear_global_site_warning
Continuously display a warning message . This is used for things like " System Shutting down at 15 past " and the like . And yes if there ' s a " real " error they miss this message . So what . NOTE - you can clear this quickly with EolConfig . clear_global_site_warning
def global_warning
    warning = EolConfig.global_site_warning
    flash.now[:error] = warning if warning
  end
def global_warning warning = EolConfig . global_site_warning flash . now [ :error ] = warning if warning end
Continuously display a warning message.
Continuously display a warning message .
# NOTE (!) if you set this value and don't see it change in 10 minutes, CHECK YOUR SLAVE LAG. It reads from slaves.