diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f3d8f69663..f997e9569f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -192,6 +192,7 @@ class ApplicationController < ActionController::Base format.any { head code } format.html do set_locale + use_pack 'error' render "errors/#{code}", layout: 'error', status: code end end