From a573471053e2b48b282563a401357309837adcf6 Mon Sep 17 00:00:00 2001 From: Tung Le Date: Mon, 17 Jun 2024 23:49:26 +0700 Subject: [PATCH] Handle exceptions --- app/controllers/application_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 81fe791..a18071f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,8 @@ +require 'kaui/error_handler' + # All engines will inherit from this controller (naming convention) class ApplicationController < ActionController::Base - + include Kaui::ErrorHandler layout Kaui.config[:layout] protect_from_forgery