diff --git a/app/views/admin/galleries/_album.html.erb b/app/views/admin/galleries/_album.html.erb index 3b98d03..9476a65 100644 --- a/app/views/admin/galleries/_album.html.erb +++ b/app/views/admin/galleries/_album.html.erb @@ -1,6 +1,6 @@
  • - +
    <% if album.cover == "default" %> diff --git a/app/views/admin/galleries/_albums.html.erb b/app/views/admin/galleries/_albums.html.erb index afb68e7..e99d4ba 100644 --- a/app/views/admin/galleries/_albums.html.erb +++ b/app/views/admin/galleries/_albums.html.erb @@ -1,4 +1,4 @@ -<%= render :partial => "album", :collection => @albums %> +<%= render :partial => "album", :collection => @albums, locals: {album_name: 'album_id'} %>