Commit ff8f631b authored by Cool Fire's avatar Cool Fire

Fix logic bug

parent ec9cff72
...@@ -38,7 +38,7 @@ class ServersController < ApplicationController ...@@ -38,7 +38,7 @@ class ServersController < ApplicationController
begin begin
if @jobcount > 0 if @jobcount > 0
@jobs = @server.jobs.reverse.each @jobs = @server.jobs.reverse
end end
rescue => e rescue => e
flash[:error] = "Could not retrieve server jobs". flash[:error] = "Could not retrieve server jobs".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment