Sha256: 0b86eb2a9e65c2f72673ecde58cc39426268a3bff43459a01e2031edba199799

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

module Tasuku
  module Taskables::VerificationsHelper

    # Render a button to confirm the given verification.
    #
    # verification - A Verification instance.
    #
    # Example:
    #
    #   confirm terms_of_service.verification
    #
    def confirm verification
      render partial: 'tasuku/taskables/verifications/confirmations/form.html.erb', locals: {
        confirmation: verification.confirmations.build
      }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tasuku-1.1.0 app/helpers/tasuku/taskables/verifications_helper.rb
tasuku-1.0.1 app/helpers/tasuku/taskables/verifications_helper.rb
tasuku-0.1.1 app/helpers/tasuku/taskables/verifications_helper.rb
tasuku-0.1.0 app/helpers/tasuku/taskables/verifications_helper.rb