Ensure unfilled fields are shown when errors are shown (#7523)
Fix #7486remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
b48a166c82
commit
7293b9fc61
|
@ -20,6 +20,7 @@ class Settings::ProfilesController < ApplicationController
|
||||||
ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
|
ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
|
||||||
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
|
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
|
||||||
else
|
else
|
||||||
|
@account.build_fields
|
||||||
render :show
|
render :show
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue