Sha256: 14161b41d9bbb8cf9c4c0cd0cfdeec9eb0f6893439cfc0e96a18a6a5e82d9ab5

Contents?: true

Size: 494 Bytes

Versions: 8

Compression:

Stored size: 494 Bytes

Contents

module Dorsale::CustomerVault::ApplicationHelper
  def customer_vault_link_form_path(person = @person, link = @link)
    if link.new_record?
      customer_vault_person_links_path(person, link)
    else
      customer_vault_person_link_path(person)
    end
  end

  def person_types_for_filter_select
    [
      [Dorsale::CustomerVault::Corporation.t, "Dorsale::CustomerVault::Corporation"],
      [Dorsale::CustomerVault::Individual.t,  "Dorsale::CustomerVault::Individual"],
    ]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-3.5.1 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.5.0 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.4.0 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.3.0 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.2.0 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.1.7 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.1.6 app/helpers/dorsale/customer_vault/application_helper.rb
dorsale-3.1.5 app/helpers/dorsale/customer_vault/application_helper.rb