Sha256: 76554911a9d95103815f343267072e4f2b014a2cfa08f3d781a54aa33038864b

Contents?: true

Size: 775 Bytes

Versions: 3

Compression:

Stored size: 775 Bytes

Contents

module MnoEnterprise::Concerns::Controllers::Jpi::V1::Impac::DashboardTemplatesController
  extend ActiveSupport::Concern

  #==================================================================
  # Included methods
  #==================================================================
  # 'included do' causes the included code to be evaluated in the
  # context where it is included rather than being executed in the module's context
  included do
    respond_to :json
  end

  #==================================================================
  # Instance methods
  #==================================================================
  # GET /mnoe/jpi/v1/impac/dashboard_templates
  def index
    @templates = MnoEnterprise::Impac::Dashboard.published_templates
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 lib/mno_enterprise/concerns/controllers/jpi/v1/impac/dashboard_templates_controller.rb
mno-enterprise-api-3.3.3 lib/mno_enterprise/concerns/controllers/jpi/v1/impac/dashboard_templates_controller.rb
mno-enterprise-api-3.3.2 lib/mno_enterprise/concerns/controllers/jpi/v1/impac/dashboard_templates_controller.rb