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

Fix #7486
lolsob-rspec
Eugen Rochko 2018-05-17 13:00:56 +02:00 committed by GitHub
parent 6800e195a4
commit db96a5ca80
1 changed files with 1 additions and 0 deletions

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