1 class GroupsController < ApplicationController
3 @groups = Group.filter [['group_class', '!=', 'project']]
4 @group_uuids = @groups.collect &:uuid
5 @links_from = Link.where link_class: 'permission', tail_uuid: @group_uuids
6 @links_to = Link.where link_class: 'permission', head_uuid: @group_uuids
11 if @object.group_class == 'project'
12 redirect_to(project_path(@object))