Skip to content

Commit

Permalink
管理者が退会させるときも分報が削除されるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ogawa-tomo committed Sep 17, 2023
1 parent a74e406 commit 1bcded6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions app/views/users/form/_sns.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1bcded6

Please sign in to comment.