chore: specific 422 error page
This commit is contained in:
parent
5b98fd7c6d
commit
a93a4cd5ce
6 changed files with 57 additions and 59 deletions
|
@ -16,6 +16,7 @@ class ErrorsController < ApplicationController
|
|||
end
|
||||
|
||||
def not_found = render_error 404
|
||||
def unprocessable_entity = render_error 422
|
||||
|
||||
def show # generic page for others errors
|
||||
@status = params[:status].to_i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue