Sha256: 1b34b85849166fa881128364126108a9e8560dc431eb4b67615ddccfb4a47280
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
class WcoEmail::Api::ContextsController < WcoEmail::ApiController # before_action :set_lists def summary authorize! :summary, WcoEmail::Context @results = WcoEmail::Context.summary end ## ## Private ## private # def set_lists # @email_layouts_list = WcoEmail::EmailTemplate::LAYOUTS # @email_templates_list = [ [nil, nil] ] + WcoEmail::EmailTemplate.all.map { |tmpl| [ tmpl.slug, tmpl.id ] } # @leads_list = Wco::Lead.list # end end
Version data entries
11 entries across 11 versions & 1 rubygems