From f66d6e9f1312a1d459239134b9114183e516b5d7 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Sun, 22 Oct 2017 16:40:06 -0400 Subject: Fixed the who's playing page error message staying for an extra request. --- app/controllers/statics_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3