Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created September 9, 2014 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviddavis/45ca8cde62e50040eef1 to your computer and use it in GitHub Desktop.
Save daviddavis/45ca8cde62e50040eef1 to your computer and use it in GitHub Desktop.
diff --git a/app/models/katello/content_view_environment.rb b/app/models/katello/content_view_environment.rb
index 2b4b500..861e363 100644
--- a/app/models/katello/content_view_environment.rb
+++ b/app/models/katello/content_view_environment.rb
@@ -48,6 +48,10 @@ class ContentViewEnvironment < Katello::Model
content_view.activation_keys.in_environment(environment)
end
+ def destroy!
+ fail "FAIL"
+ end
+
private
def generate_info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment