[refs #232] Remove unused commented code from groups controller

This commit is contained in:
konstantin.grabar 2012-03-02 13:46:16 +04:00
parent 1700588b97
commit 3369953b4c
1 changed files with 0 additions and 6 deletions

View File

@ -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]