Sha256: f8e7db1f361916bf0c2266968ff779ece890ee34f9dbba6d60735e5c7ee607c0

Contents?: true

Size: 139 Bytes

Versions: 14

Compression:

Stored size: 139 Bytes

Contents

module Spud::Admin::PhotosHelper

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

end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
spud_photos-0.9.4 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.3 app/helpers/spud/admin/photos_helper.rb
tb_photos-1.0 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.2 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.1 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.0.2 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.0.1 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.9.0 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.1.5 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.1.4 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.1.3 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.1.2 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.1 app/helpers/spud/admin/photos_helper.rb
spud_photos-0.0.3 app/helpers/spud/admin/photos_helper.rb