app/models/katello/activation_key.rb in katello-3.0.2 vs app/models/katello/activation_key.rb in katello-3.1.0.rc1
- old
+ new
@@ -193,18 +193,18 @@
self.unsubscribe(pool_id)
rescue RestClient::ResourceNotFound, RestClient::BadRequest => e
raise JSON.parse(e.response)['displayMessage']
end
+ def self.humanize_class_name(_name = nil)
+ _("Activation Keys")
+ end
+
private
def set_default_content_view
if self.environment && self.content_view.nil?
self.content_view = self.environment.try(:default_content_view)
end
- end
-
- def self.humanize_class_name(_name = nil)
- _("Activation Keys")
end
end
end