aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/errors_controller.rb
blob: accf119a32f959907d45c46832e9fd72beb9f8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class ErrorsController < ApplicationController
  def not_found
    render template: 'errors/not_found', status: 404, formats: [:html]
  end

  def server_error
    render template: 'errors/server_error', status: 500, formats: [:html]
  end

  def not_allowed
    render template: 'errors/not_found', status: 403, formats: [:html]
  end
end