Skip to content
Snippets Groups Projects
Commit 750180e6 authored by James McCarthy's avatar James McCarthy
Browse files

Fix equipment list bug. Fixes #109.

parent e60d0246
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<h6>Booking History</h6> <h6>Booking History</h6>
<div class="history-equip"> <div class="history-equip">
<% @equipment.bookings.each do |booking| %> <% @equipment.bookings.each do |booking| %>
<%= render partial: 'bookings/summary_row', locals: {booking: booking, admin_view: true} %></li> <%= render partial: 'bookings/summary_row', locals: {booking: booking, view: 'admin'} %></li>
<% end %> <% end %>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment