Module: Admin::PhotosHelper

Defined in:
app/helpers/admin/photos_helper.rb

Instance Method Summary collapse

Instance Method Details

#photo_is_selectedObject



3
4
5
# File 'app/helpers/admin/photos_helper.rb', line 3

def photo_is_selected
  return (@photo_album && @photo_album.photo_ids.include?(photo.id))
end