18995: remove dead code.
authorWard Vandewege <ward@curii.com>
Wed, 13 Apr 2022 19:05:38 +0000 (15:05 -0400)
committerWard Vandewege <ward@curii.com>
Wed, 13 Apr 2022 19:05:38 +0000 (15:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

services/api/app/controllers/arvados/v1/groups_controller.rb

index c1dc7a49612162aa9fcc79211c4358e77005da5b..8539332f16509a6f00a6e9e27617d16a2ef75e45 100644 (file)
@@ -104,7 +104,6 @@ class Arvados::V1::GroupsController < ApplicationController
   def destroy
     if !TRASHABLE_CLASSES.include?(@object.group_class)
       return @object.destroy
-      show
     else
       super # Calls destroy from TrashableController module
     end