Skip to content
Snippets Groups Projects
Commit 55fcd3db authored by Rémy Coutable's avatar Rémy Coutable
Browse files

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
No related branches found
No related tags found
3 merge requests!8889WIP: Port of 25624-anticipate-obstacles-to-removing-turbolinks to EE.,!7795Asciidoctor plantuml,!7793Add support for PlantUML diagrams in Asciidoc.
Loading
Loading
@@ -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]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment