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

Version Path
wco_email-0.1.1.89 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.88 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.86 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.85 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.84 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.83 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.82 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.81 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.80 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.79 app/controllers/wco_email/api/contexts_controller.rb
wco_email-0.1.1.78 app/controllers/wco_email/api/contexts_controller.rb