From 1bcded6a9f6126caa20e7f05c3a7ec85cd05cf04 Mon Sep 17 00:00:00 2001 From: tomo Date: Sun, 17 Sep 2023 16:49:20 +0900 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=80=85=E3=81=8C=E9=80=80?= =?UTF-8?q?=E4=BC=9A=E3=81=95=E3=81=9B=E3=82=8B=E3=81=A8=E3=81=8D=E3=82=82?= =?UTF-8?q?=E5=88=86=E5=A0=B1=E3=81=8C=E5=89=8A=E9=99=A4=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admin/users_controller.rb | 2 +- app/views/users/form/_sns.html.slim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index e746e30f33c..4441924ba49 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -61,7 +61,7 @@ def user_params :auto_retire, :profile_image, :profile_name, :profile_job, :mentor, :profile_text, { authored_books_attributes: %i[id title url cover _destroy] }, - :country_code, :subdivision_code, discord_profile_attributes: %i[account_name times_url] + :country_code, :subdivision_code, discord_profile_attributes: %i[account_name times_url times_id] ) end diff --git a/app/views/users/form/_sns.html.slim b/app/views/users/form/_sns.html.slim index 06e263f5fa9..62767add59d 100644 --- a/app/views/users/form/_sns.html.slim +++ b/app/views/users/form/_sns.html.slim @@ -26,6 +26,7 @@ | ใ“ใกใ‚‰ span.a-help i.fa-solid.fa-question + = discord_profile_fields.hidden_field :times_id .form-item#form-github-account = f.label :github_account, class: 'a-form-label'