class Screenshot < ActiveRecord::Base
  belongs_to :asset

  validates :position, presence: true,
                       uniqueness: { scope: :asset }

  def url
    asset.url
  end
end

class Screenshot < ActiveRecord::Base
  belongs_to :asset

  validates :position, presence: true

  def url
    asset.url
  end
end

Fix styling of images in carousel, mysteriously fix AWS S3 403
Fix styling of images in carousel, mysteriously fix AWS S3 403
