summaryrefslogtreecommitdiff
path: root/app/controllers/errors_controller.rb
blob: 2d918b5ef01d82e6c4d02249f678e16238e2b3c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class ErrorsController < ApplicationController

  # 404
  def not_found
    render status: 404
  end

  # 500
  def server_error
    render status: 500
  end
end