Commit e48584f0 authored by Rémy Coutable's avatar Rémy Coutable

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

Fixes #286.
parent 6b10319e
......@@ -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