Closed davegudge closed 9 years ago
When pagination is required to display the delayed jobs, an error occurs when attempting to render _next_more.erb as the current_page variable is not defined.
_next_more.erb
current_page
NameError - undefined local variable or method `current_page'
Replacing current_page with request.path
request.path
Tested with: resque (1.25.2) resque-scheduler (4.0.0) resque-web (0.0.6)
Great stuff! Thanks for the PR :+1:
When pagination is required to display the delayed jobs, an error occurs when attempting to render
_next_more.erb
as thecurrent_page
variable is not defined.Replacing
current_page
withrequest.path
Tested with: resque (1.25.2) resque-scheduler (4.0.0) resque-web (0.0.6)