Skip to content

Commit

Permalink
Merge pull request mhfs#2 from bnorton/hotfix/paging
Browse files Browse the repository at this point in the history
Link to /failures for paging.
  • Loading branch information
mhfs committed Sep 29, 2012
2 parents a088b5a + 101983a commit 63c584f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sidekiq/failures/views/failures.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
h1 Failed Jobs

- if @messages.size > 0
== slim :_paging, :locals => { :url => "#{root_path}queues/#{@name}" }
== slim :_paging, :locals => { :url => "#{root_path}failures/#@name" }

table class="table table-striped table-bordered"
tr
Expand All @@ -20,7 +20,7 @@ h1 Failed Jobs
td= msg['error']
td= msg['failed_at']

== slim :_paging, :locals => { :url => "#{root_path}queues/#{@name}" }
== slim :_paging, :locals => { :url => "#{root_path}failures/#@name" }
- else
p No failed jobs found.
a href="#{root_path}" Back

0 comments on commit 63c584f

Please sign in to comment.