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-3.3.0.rc1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.2.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.2.0.rc2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.2.0.rc1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.0.rc3 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.0.rc2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.1.0.rc1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc7 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc6 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc5 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc4 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc3 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.rc1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.pre.beta.1 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.pre.alpha.3 app/helpers/locomotive/accounts_helper.rb