Browse Source

Ensure unfilled fields are shown when errors are shown (#7523)

Fix #7486
pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
7293b9fc61
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/settings/profiles_controller.rb

+ 1
- 0
app/controllers/settings/profiles_controller.rb View File

@ -20,6 +20,7 @@ class Settings::ProfilesController < ApplicationController
ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
else
@account.build_fields
render :show
end
end

Loading…
Cancel
Save