app/views/admin/redde_photos/_photo.haml in redde-0.3.39 vs app/views/admin/redde_photos/_photo.haml in redde-0.4.0
- old
+ new
@@ -1,7 +1,7 @@
%li.photos__item{ :id => "photo_#{photo.id}" }
= link_to photo.src_url, class: 'photos__link' do
- = image_tag photo.src.admin, class: 'photos__img'
+ = image_tag photo.src_url(:admin), class: 'photos__img'
%span.photos__title= photo.src.file.filename
= link_to("",
url_for([:admin, photo]),
method: :delete,
"data-confirm" => "Точно удалить?",