Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #9902 - Updated incorrect cv association #5143

Merged
merged 1 commit into from Mar 31, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/katello/content_view.rb
Expand Up @@ -55,7 +55,7 @@ def <<(*_args)

has_many :hosts, :class_name => "::Host::Managed", :foreign_key => :content_view_id,
:inverse_of => :content_view, :dependent => :restrict
has_many :hostgroups, :class_name => "::Hostgroup", :foreign_key => :lifecycle_environment_id,
has_many :hostgroups, :class_name => "::Hostgroup", :foreign_key => :content_view_id,
:inverse_of => :content_view, :dependent => :restrict

validates_lengths_from_database :except => [:label]
Expand Down