Commit 55fcd3db authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix/286-groups-list-cannot-load-in-share-with-groups-page' into 'master'

Don't try to load a specific group for GroupsController#autocomplete action

Fixes #286.

This was introduced by gitlab-org/gitlab-ce!2614.

### With the fix

![Screen_Shot_2016-02-17_at_15.47.46](/uploads/8c2399e8b61807be8ded9a780b98d39a/Screen_Shot_2016-02-17_at_15.47.46.png)

See merge request !186
parents 6b10319e e48584f0
......@@ -5,7 +5,7 @@ class GroupsController < Groups::ApplicationController
respond_to :html
skip_before_action :authenticate_user!, only: [:index, :show, :issues, :merge_requests]
before_action :group, except: [:index, :new, :create]
before_action :group, except: [:index, :new, :create, :autocomplete]
# Authorize
before_action :authorize_read_group!, except: [:index, :show, :new, :create, :autocomplete]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment