This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/controllers/exceptions.rb

13 lines
223 B
Ruby
Raw Normal View History

2008-10-01 02:19:35 -04:00
class Exceptions < Application
# handle NotFound exceptions (404)
def not_found
render :format => :html
end
# handle NotAcceptable exceptions (406)
def not_acceptable
render :format => :html
end
end