]> git.openstreetmap.org Git - rails.git/blob - app/controllers/errors_controller.rb
Fix some broken translation lookups
[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