18F/hhs-acf-uc-dashboard

View on GitHub
app/controllers/application_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  include Authorization

  rescue_from Authorization::Error do
    redirect_to Role.new(current_user).home_path
  end
end