Simplify render in controllers (#2144)
This commit is contained in:
@ -17,7 +17,7 @@ class Settings::ProfilesController < ApplicationController
|
||||
if @account.update(account_params)
|
||||
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
|
||||
else
|
||||
render action: :show
|
||||
render :show
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user