atmos / merb-openid-example

an example openid consumer application written in merb using merb-auth's openid stuff

This URL has Read+Write access

merb-openid-example / app / controllers / exceptions.rb
100644 16 lines (13 sloc) 0.265 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Exceptions < Merb::Controller
  # handle NotFound exceptions (404)
  def not_found
    render :format => :html
  end
 
  # handle NotAcceptable exceptions (406)
  def not_acceptable
    render :format => :html
  end
 
  def unauthenticated
    render
  end
end