Sha256: 9d5e771f8123e328ab38eea970d4ef9cf18a237ece0fa2cb0a17efe58ae17d65

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module MarkAsRead

  module MailerHelper

    def mark_as_read_img(model)
      verifier = ActiveSupport::MessageVerifier.new(Rails.application.config.secret_key_base)
      image_tag(mark_as_read_url(:type => model.class, :id => verifier.generate(model.id)))
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mark_as_read-0.0.2 app/helpers/mark_as_read/mailer_helper.rb
mark_as_read-0.0.1 app/helpers/mark_as_read/mailer_helper.rb