app/views/admin/photo_galleries/index.html.erb in tb_photos-1.1.0 vs app/views/admin/photo_galleries/index.html.erb in tb_photos-1.2.0
- old
+ new
@@ -7,10 +7,10 @@
<% @photo_galleries.each do |gallery| %>
<div id="admin-photo-gallery-<%= gallery.id %>" class="admin-photo-ui-thumb" style="background-image:url('<%= gallery.top_photo_url(:spud_admin_small) %>')">
<h5><%= gallery.title %></h5>
<div class="admin-photo-ui-thumb-controls">
<%= link_to '', edit_admin_photo_gallery_path(gallery), :class => 'admin-photos-btn-edit' %>
- <%= link_to '', admin_photo_gallery_path(gallery), :method => :delete, :class => 'admin-photos-btn-delete', :remote => true, :data => {:confirm => 'Are you sure?'} %>
+ <%= link_to '', admin_photo_gallery_path(gallery), :method => :delete, :class => 'admin-photos-btn-delete', :data => {:confirm => 'Are you sure?'} %>
</div>
</div>
<% end %>
<div>
<% end %>