Class: Exceptions
- Inherits:
-
Merb::Controller
- Object
- Merb::Controller
- Exceptions
- Defined in:
- app/controllers/exceptions.rb
Instance Method Summary collapse
-
#not_acceptable ⇒ Object
handle NotAcceptable exceptions (406).
-
#not_found ⇒ Object
handle NotFound exceptions (404).
Instance Method Details
#not_acceptable ⇒ Object
handle NotAcceptable exceptions (406)
9 10 11 |
# File 'app/controllers/exceptions.rb', line 9 def not_acceptable render :format => :html end |
#not_found ⇒ Object
handle NotFound exceptions (404)
4 5 6 |
# File 'app/controllers/exceptions.rb', line 4 def not_found render :format => :html end |