Remove: #611 グループシステム関係のカラムを複数削除 (#618)

This commit is contained in:
KMY(雪あすか) 2024-02-27 13:08:30 +09:00 committed by GitHub
parent 0767212284
commit aec832e257
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 29 additions and 97 deletions

View file

@ -20,8 +20,8 @@ class Settings::ProfilesController < Settings::BaseController
private
def account_params
# params.require(:account).permit(:display_name, :note, :bio_markdown, :avatar, :header, :locked, :my_actor_type, :searchability, :dissubscribable, :group_allow_private_message, :discoverable, :discoverable_local, :hide_collections, fields_attributes: [:name, :value])
params.require(:account).permit(:display_name, :note, :bio_markdown, :avatar, :header, :bot, :my_actor_type, :group_allow_private_message, :dissubscribable, fields_attributes: [:name, :value])
# params.require(:account).permit(:display_name, :note, :bio_markdown, :avatar, :header, :locked, :my_actor_type, :searchability, :dissubscribable, :discoverable, :discoverable_local, :hide_collections, fields_attributes: [:name, :value])
params.require(:account).permit(:display_name, :note, :bio_markdown, :avatar, :header, :bot, :my_actor_type, :dissubscribable, fields_attributes: [:name, :value])
end
def set_account