Project

General

Profile

« Previous | Next » 

Revision 017c63dd

Added by David Davis about 10 years ago

Fixes #4689 - Handle default content views in API/CLI

View differences:

app/lib/actions/katello/content_view/promote.rb
def plan(version, environment)
action_subject(version.content_view)
version.check_ready_to_promote!
history = ::Katello::ContentViewHistory.create!(:content_view_version => version, :user => ::User.current.login,
:environment => environment, :task => self.task,

Also available in: Unified diff