Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Exceptions < Merb::Controller
- provides :html
- # handle NotFound exceptions (404)
- def not_found
- render :template => "exceptions/#{Merb.env}/not_found.html"
- end
- # handle NotAcceptable exceptions (406)
- def not_acceptable
- render :template => "exceptions/#{Merb.env}/not_found.html"
- end
- end
Add Comment
Please, Sign In to add comment