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