Sha256: f071eacc33bc288b87c7a044afacff08fea336d2d4899d2a02140770e1e40756
Contents?: true
Size: 654 Bytes
Versions: 26
Compression:
Stored size: 654 Bytes
Contents
- galleries = galleries.page( params[:galleries_page] ).per( 10 ) .manager-galleries--index .row .col-sm-12 %h2 Galleries (#{galleries.length}) = paginate galleries, :param_name => :galleries_page %ol - galleries.each do |gallery| %li - gallery.photos.unscoped.where({ :is_trash => false })[0...4].each do |photo| .mini= image_tag photo.photo.url( :thumb ), :alt => '' .clearfix #{link_to gallery.name, gallery_path( gallery )} (#{gallery.photos.unscoped.where({ :is_trash => false }).length}) = paginate galleries, :param_name => :galleries_page %hr
Version data entries
26 entries across 26 versions & 1 rubygems