18F/identity-idp

View on GitHub
app/controllers/risc/configuration_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Risc
  class ConfigurationController < ApplicationController
    prepend_before_action :skip_session_load
    prepend_before_action :skip_session_expiration

    def index
      render json: RiscConfigurationPresenter.new.configuration
    end
  end
end