Sha256: 4f3cac4d7523743dce5c4f6badf4891f4cb00c8a9a27fde8ec2f2f7532ff8c53

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

module Tasks
  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: 'tasks/taskables/verifications/confirmations/form.html.erb', locals: {
        confirmation: verification.confirmations.build
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 app/helpers/tasks/taskables/verifications_helper.rb