app/views/checkins/_checkin.html.erb in enju_circulation-0.1.0.pre36 vs app/views/checkins/_checkin.html.erb in enju_circulation-0.1.0.pre37
- old
+ new
@@ -7,11 +7,11 @@
</tr>
<%- @checkins.each_with_index do |checkin, i| -%>
<tr class="line<%= cycle("0", "1") -%>">
<td>
- <%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation if checkin.item.try(:manifestation) -%>
+ <%= render 'manifestations/show_index', manifestation: checkin.item.manifestation if checkin.item.try(:manifestation) -%>
</td>
<td>
<% if checkin.item %>
<%= link_to checkin.item.item_identifier, checkin.item -%>
<br />
@@ -24,15 +24,15 @@
<% end %>
<% end %>
</td>
<td>
<%- if checkin.checkout -%>
- <%= l(checkin.checkout.due_date, :format => :only_date) -%>
+ <%= l(checkin.checkout.due_date, format: :only_date) -%>
<%- end -%>
</td>
<td>
<% if checkin.checkout.try(:user) %>
- <%= link_to checkin.checkout.user.username, checkin.checkout.user -%>
+ <%= link_to checkin.checkout.user.username, checkin.checkout.user.profile -%>
<% end %>
</td>
</tr>
<%- end -%>
</table>