summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/statics_controller.rb2
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