diff options
author | Logan Fick <logaldeveloper@protonmail.com> | 2017-10-22 16:40:06 -0400 |
---|---|---|
committer | Logan Fick <logaldeveloper@protonmail.com> | 2017-10-22 16:40:06 -0400 |
commit | f66d6e9f1312a1d459239134b9114183e516b5d7 (patch) | |
tree | 4e1b0ea76c5194e20670fe4110548e7b8098b2c9 | |
parent | 61c1f36b50a621f5112fcb06b91dec51db07f28a (diff) |
Fixed the who's playing page error message staying for an extra request.
-rw-r--r-- | app/controllers/statics_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/statics_controller.rb b/app/controllers/statics_controller.rb index 70b58da..c624c32 100644 --- a/app/controllers/statics_controller.rb +++ b/app/controllers/statics_controller.rb @@ -20,7 +20,7 @@ class StaticsController < ApplicationController begin json = JSON.parse(File.read("/etc/minecraft/redstoner/plugins/ModuleLoader/players.json")) rescue - flash[:alert] = "The server is currently offline." + flash.now[:alert] = "The server is currently offline." @players = {} @count = 0 else |