Use dynamic error pages built through the asset pipeline

Fixes #1241
This commit is contained in:
Tom Hughes
2018-08-01 18:56:11 +01:00
parent 49d5c68600
commit 5fa0aebe9f
14 changed files with 88 additions and 38 deletions

View File

@ -0,0 +1,15 @@
class ErrorsController < ApplicationController
layout "error"
def forbidden
render :status => :forbidden
end
def not_found
render :status => :not_found
end
def internal_server_error
render :status => :internal_server_error
end
end