Use error pack when rendering error pages. Fixes #305.
This commit is contained in:
parent
a37e295901
commit
9e5b431655
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue