mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 01:36:02 +02:00
Support multiple errors
This commit is contained in:
parent
1e2dad06f9
commit
9fdf40cdcd
6 changed files with 32 additions and 27 deletions
|
@ -2,7 +2,8 @@ class Epp::ErrorsController < ApplicationController
|
|||
include Epp::Common
|
||||
|
||||
def error
|
||||
@code, @msg = params[:code], params[:msg]
|
||||
@errors = []
|
||||
@errors << {code: params[:code], msg: params[:msg]}
|
||||
render '/epp/error'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue