web/views/expected_failures.erb in sidekiq-expected_failures-0.2.5 vs web/views/expected_failures.erb in sidekiq-expected_failures-0.3.0
- old
+ new
@@ -76,11 +76,11 @@
</select>
</form>
<p class="clearfix"></p>
- <%= erb :_paging, :locals => { :url => "#{root_path}expected_failures/#{@date}" } %>
+ <%= erb :_paging, locals: { url: "#{root_path}expected_failures?date=#{@date}" } %>
<table id="expected" class="queues table table-hover table-bordered table-striped table-white">
<thead>
<th>Datetime</th>
<th>Worker</th>
@@ -97,10 +97,10 @@
<td><%= link_to_details(job) %></td>
</tr>
<% end %>
</table>
- <%= erb :_paging, :locals => { :url => "#{root_path}expected_failures/#{@date}" } %>
+ <%= erb :_paging, locals: { url: "#{root_path}expected_failures/#{@date}" } %>
<% else %>
<p class="clearfix"></p>
<div class="alert alert-success">
No failed jobs found.