mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
15
app/controllers/errors_controller.rb
Normal file
15
app/controllers/errors_controller.rb
Normal file
@ -0,0 +1,15 @@
|
||||
class ErrorsController < ApplicationController
|
||||
layout "error"
|
||||
|
||||
def forbidden
|
||||
render :status => :forbidden
|
||||
end
|
||||
|
||||
def not_found
|
||||
render :status => :not_found
|
||||
end
|
||||
|
||||
def internal_server_error
|
||||
render :status => :internal_server_error
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user