1 class ErrorsController < ApplicationController
4 skip_authorization_check
6 before_action :set_locale
10 format.html { render :status => :forbidden }
11 format.any { render :status => :forbidden, :plain => "" }
16 respond_to do |format|
17 format.html { render :status => :not_found }
18 format.any { render :status => :not_found, :plain => "" }
22 def internal_server_error
23 respond_to do |format|
24 format.html { render :status => :internal_server_error }
25 format.any { render :status => :internal_server_error, :plain => "" }