mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 15:19:55 +02:00
Refactor
This commit is contained in:
parent
cd4486c79c
commit
bfb9abea8c
4 changed files with 10 additions and 9 deletions
|
@ -2,8 +2,7 @@ class Epp::ErrorsController < ApplicationController
|
|||
include Epp::Common
|
||||
|
||||
def error
|
||||
@errors = []
|
||||
@errors << {code: params[:code], msg: params[:msg]}
|
||||
epp_errors << {code: params[:code], msg: params[:msg]}
|
||||
render '/epp/error'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue