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:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-06-06 17:01:42 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-06-06 17:01:42 +0300
commitd8403ec18f771c28eb566dc3ce6dc08bffd2db22 (patch)
tree17760f837a3b35d03026a0943f85be4320fc2a42 /app/controllers
parent657bc805a4bfee516942a3765eef0a508891a5d7 (diff)
Minor visual adjustments
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/membership_actions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/membership_actions.rb b/app/controllers/concerns/membership_actions.rb
index f55f03972a9..19fd4e6e2a9 100644
--- a/app/controllers/concerns/membership_actions.rb
+++ b/app/controllers/concerns/membership_actions.rb
@@ -57,7 +57,7 @@ module MembershipActions
redirect_to redirect_path, notice: notice
end
- format.json { head :ok }
+ format.json { render json: { notice: notice } }
end
end