lib/resque/server.rb in resque-1.14.0 vs lib/resque/server.rb in resque-1.15.0
- old
+ new
@@ -108,10 +108,10 @@
def poll
if @polling
text = "Last Updated: #{Time.now.strftime("%H:%M:%S")}"
else
- text = "<a href='#{url(request.path_info)}.poll' rel='poll'>Live Poll</a>"
+ text = "<a href='#{u(request.path_info)}.poll' rel='poll'>Live Poll</a>"
end
"<p class='poll'>#{text}</p>"
end
end