From 396f74cfb13e84e00f39b3cbfccd66c8bbe54f80 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 26 Oct 2017 19:35:08 +0300 Subject: [PATCH] Reformat code #343 --- .../admin/registrars_controller.rb | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/app/controllers/admin/registrars_controller.rb b/app/controllers/admin/registrars_controller.rb index 362b3747d..a52bdbb4e 100644 --- a/app/controllers/admin/registrars_controller.rb +++ b/app/controllers/admin/registrars_controller.rb @@ -63,10 +63,21 @@ module Admin end def registrar_params - params.require(:registrar).permit( - :name, :reg_no, :vat_no, :street, :city, :state, :zip, :billing_address, - :country_code, :email, :phone, :website, :billing_email, :code, :test_registrar - ) + params.require(:registrar).permit(:name, + :reg_no, + :vat_no, + :street, + :city, + :state, + :zip, + :billing_address, + :country_code, + :email, + :phone, + :website, + :billing_email, + :code, + :test_registrar) end end end