Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Eipert <git@leipert.io>2018-04-04 18:35:41 +0300
committerLukas Eipert <git@leipert.io>2018-04-04 18:35:41 +0300
commit483b08a6820fa8f0a24e5b29d2199f7db6e266b1 (patch)
tree79246705726462966fec7382bc4fcef00ba97f71
parentb22fd22380e6de9e25cb201d81c82fc2296b341a (diff)
add newline
-rw-r--r--app/controllers/profiles_controller.rb1
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"