Module: Admin::PhotosHelper
- Defined in:
- app/helpers/admin/photos_helper.rb
Instance Method Summary collapse
Instance Method Details
#photo_is_selected ⇒ Object
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 |