Sha256: 42e456fd441814da6c0a4364116e3a25b2869ae8426a60164e2d91fde7295e43

Contents?: true

Size: 239 Bytes

Versions: 6

Compression:

Stored size: 239 Bytes

Contents

module Oxen
  module AccountsHelper
    def invited_user? user
      # "blue-grey lighten-2"
      user.invitation_token.nil? ? "" : "invited_user"
    end

    def build_link_from_array arr
      link_to arr[0], arr[1]
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
oxen_account-0.2.9 app/helpers/oxen/accounts_helper.rb
oxen_account-0.2.8 app/helpers/oxen/accounts_helper.rb
oxen_account-0.2.4 app/helpers/oxen/accounts_helper.rb
oxen_account-0.2.2 app/helpers/oxen/accounts_helper.rb
oxen_account-0.2.1 app/helpers/oxen/accounts_helper.rb
oxen_account-0.2.0 app/helpers/oxen/accounts_helper.rb