summaryrefslogtreecommitdiff
path: root/app/controllers/errors_controller.rb
blob: 80c270fc327e22136f5bb9cfc58131e976343cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# We render http errors ourselves so we can customize them
class ErrorsController < ApplicationController
  respond_to :html

  # 404
  def not_found
    render status: 404
  end

  # 500
  def server_error
    render status: 500
  end
end