Refactor destroy/show duplicate code