Sha256: 746bd6823129539ceab87646b20e976c212fdfd55baa7f61a86cbbcd3254bb55

Contents?: true

Size: 172 Bytes

Versions: 42

Compression:

Stored size: 172 Bytes

Contents

module Locomotive
  module AccountsHelper

    def options_for_account
      current_site.accounts.collect { |a| ["#{a.name} <#{a.email}>", a.id.to_s] }
    end

  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.2.0.alpha1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.1.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.1.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.1.0.rc1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.3 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.0.rc0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.0.alpha3 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.4.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.0.alpha2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-4.0.0.alpha1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.4.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.3.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.3.0.rc3 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.3.0.rc2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.2.1 app/helpers/locomotive/accounts_helper.rb