GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A simple application written in merb to help you manage ad serving across multiple sites
Clone URL: git://github.com/kneath/greed.git
kneath (author)
Tue Apr 22 16:46:01 -0700 2008
commit  bf6bd400f7391f0af67b5f4a4146b4d6aac48731
tree    0eb364d3aa87211bac88aa439d614d82cba0892a
greed / app / controllers / exceptions.rb
100644 13 lines (10 sloc) 0.223 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
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