]> git.openstreetmap.org Git - rails.git/blob - app/controllers/errors_controller.rb
Merge remote-tracking branch 'upstream/pull/2001'
[rails.git] / app / controllers / errors_controller.rb
1 class ErrorsController < ApplicationController
2   layout "error"
3
4   def forbidden
5     render :status => :forbidden
6   end
7
8   def not_found
9     render :status => :not_found
10   end
11
12   def internal_server_error
13     render :status => :internal_server_error
14   end
15 end