1 class ErrorsController < ApplicationController
4 skip_authorization_check
8 format.html { render :status => :forbidden }
9 format.any { render :status => :forbidden, :plain => "" }
14 respond_to do |format|
15 format.html { render :status => :not_found }
16 format.any { render :status => :not_found, :plain => "" }
20 def internal_server_error
21 respond_to do |format|
22 format.html { render :status => :internal_server_error }
23 format.any { render :status => :internal_server_error, :plain => "" }