diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-06 17:01:42 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-06 17:01:42 +0300 |
commit | d8403ec18f771c28eb566dc3ce6dc08bffd2db22 (patch) | |
tree | 17760f837a3b35d03026a0943f85be4320fc2a42 /app/controllers | |
parent | 657bc805a4bfee516942a3765eef0a508891a5d7 (diff) |
Minor visual adjustments
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/concerns/membership_actions.rb | 2 |
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 |