18F/identity-idp

View on GitHub
app/controllers/pages_controller.rb

Summary

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

class PagesController < ApplicationController
  prepend_before_action :skip_session_load
  prepend_before_action :skip_session_expiration
  skip_before_action :verify_authenticity_token
  skip_before_action :disable_caching

  def page_not_found
    render layout: false, status: :not_found, formats: :html
  end
end