[refs #232] Remove unused commented code from groups controller
This commit is contained in:
parent
1700588b97
commit
3369953b4c
|
@ -11,12 +11,6 @@ class GroupsController < ApplicationController
|
|||
autocomplete :group, :uname
|
||||
|
||||
def index
|
||||
puts parent.inspect
|
||||
#@groups = #if parent? and !parent.nil?
|
||||
# parent.groups
|
||||
#else
|
||||
# Group
|
||||
#end.accessible_by(current_ability)
|
||||
@groups = current_user.groups#accessible_by(current_ability)
|
||||
|
||||
@groups = if params[:query]
|
||||
|
|
Loading…
Reference in New Issue