Module: Locomotive::PublicSubmissionAccountsHelper

Defined in:
app/helpers/locomotive/public_submission_accounts_helper.rb

Instance Method Summary collapse

Instance Method Details

#options_for_public_submission_accountsObject


4
5
6
# File 'app/helpers/locomotive/public_submission_accounts_helper.rb', line 4

def options_for_public_submission_accounts
  current_site.accounts.collect { |a| [CGI::escapeHTML("#{a.name} <#{a.email}>"), a.id.to_s] }
end