Skip to content

Commit

Permalink
Handle exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tungleduyxyz committed Jun 18, 2024
1 parent 4ed30ef commit a573471
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a573471

Please sign in to comment.