18995: remove dead code.
[arvados.git] / 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