We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64520e8 commit 917a284Copy full SHA for 917a284
lib/resque/server.rb
@@ -86,7 +86,7 @@ def partial(template, local_vars = {})
86
ensure
87
@partial = false
88
end
89
-
+
90
def poll
91
if @polling
92
text = "Last Updated: #{Time.now.strftime("%H:%M:%S")}"
@@ -95,7 +95,7 @@ def poll
95
96
"<p class='poll'>#{text}</p>"
97
98
99
100
101
def show(page, layout = true)
@@ -120,7 +120,7 @@ def show(page, layout = true)
120
show page
121
122
123
124
%w( overview workers ).each do |page|
125
get "/#{page}.poll" do
126
content_type "text/plain"
@@ -136,7 +136,7 @@ def show(page, layout = true)
136
show :failed
137
138
139
140
post "/failed/clear" do
141
Resque::Failure.clear
142
redirect u('failed')
0 commit comments