diff options
author | Lukas Eipert <git@leipert.io> | 2018-04-04 18:35:41 +0300 |
---|---|---|
committer | Lukas Eipert <git@leipert.io> | 2018-04-04 18:35:41 +0300 |
commit | 483b08a6820fa8f0a24e5b29d2199f7db6e266b1 (patch) | |
tree | 79246705726462966fec7382bc4fcef00ba97f71 | |
parent | b22fd22380e6de9e25cb201d81c82fc2296b341a (diff) |
add newline
-rw-r--r-- | app/controllers/profiles_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index cb0ccea58aa..f556e7729dd 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -52,6 +52,7 @@ class ProfilesController < Profiles::ApplicationController def update_username result = Users::UpdateService.new(current_user, user: @user, username: username_param).execute + respond_to do |format| if result[:status] == :success message = "Username successfully changed" |