class ErrorsController < ApplicationController layout "error" skip_authorization_check def forbidden render :status => :forbidden end def not_found render :status => :not_found end def internal_server_error render :status => :internal_server_error end end