app/controllers/application_controller/ci_processing.rb
# Assign/unassign ownership to a set of objects
Assign/unassign ownership to a set of objects
Assign / unassign ownership to a set of objects
def ownership
    @edit = session[:edit] unless @explorer  
    ownership_build_screen
    @edit[:current] = copy_hash(@edit[:new])
    session[:edit] = @edit
    drop_breadcrumb(:name => _("Set Ownership"), :url => "/vm_common/ownership")
    @in_a_form = @ownershipedit = true
    build_targets_hash(@ownershipitems)
    if @edit[:explorer]
      @refresh_partial = "shared/views/ownership"
    else
      render :action => "show"
    end
  end
def ownership @edit = session [ :edit ] unless @explorer ownership_build_screen @edit [ :current ] = copy_hash ( @edit [ :new ] ) session [ :edit ] = @edit drop_breadcrumb ( :name => _ ( "Set Ownership" ) , :url => "/vm_common/ownership" ) @in_a_form = @ownershipedit = true build_targets_hash ( @ownershipitems ) if @edit [ :explorer ] @refresh_partial = "shared/views/ownership" else render :action => "show" end end
Assign/unassign ownership to a set of objects
Assign / unassign ownership to a set of objects
# only do this for non-explorer screen