module Exceptiongem

Constants

VERSION

Public Class Methods

rescue404() click to toggle source
# File lib/exceptiongem.rb, line 5
def self.rescue404
        render :file => 'public/404.html', :status => :not_found, :layout => false
end
rescue422() click to toggle source
# File lib/exceptiongem.rb, line 13
def self.rescue422
        render :file => 'public/422.html', :status => :not_found, :layout => false
end
rescue500() click to toggle source
# File lib/exceptiongem.rb, line 9
def self.rescue500
        render :file => 'public/500.html', :status => :not_found, :layout => false
end