forked from External/greenlight
adhere to rubocop guidelines
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ErrorsController < ApplicationController
|
||||
|
||||
def not_found
|
||||
render status: 404
|
||||
end
|
||||
|
||||
|
||||
def unprocessable
|
||||
render status: 422
|
||||
end
|
||||
|
Reference in New Issue
Block a user