blob: d869ab50fe4e741d07842871a9da1435ee0f0e67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# We render http errors ourselves so we can customize them
class ErrorsController < ApplicationController
# 404
def not_found
render status: 404
end
# 500
def server_error
render status: 500
end
end
|