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.0.0.pre.alpha.2 app/helpers/locomotive/accounts_helper.rb
locomotivecms-3.0.0.pre.alpha app/helpers/locomotive/accounts_helper.rb