forked from External/greenlight
Fixed loading of error pages (#310)
* <Fixed loading of error pages> * <Remove not_found from application folder>
This commit is contained in:
@ -18,14 +18,14 @@
|
||||
|
||||
class ErrorsController < ApplicationController
|
||||
def not_found
|
||||
render status: 404
|
||||
render status: 404, formats: :html
|
||||
end
|
||||
|
||||
def unprocessable
|
||||
render status: 422
|
||||
render status: 422, formats: :html
|
||||
end
|
||||
|
||||
def internal_error
|
||||
render status: 500
|
||||
render status: 500, formats: :html
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user