forked from External/greenlight
15 lines
202 B
Ruby
15 lines
202 B
Ruby
class ErrorsController < ApplicationController
|
|
|
|
def not_found
|
|
render status: 404
|
|
end
|
|
|
|
def unprocessable
|
|
render status: 422
|
|
end
|
|
|
|
def internal_error
|
|
render status: 500
|
|
end
|
|
end
|