Class: Actions::Katello::ContentView::Update

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/katello/content_view/update.rb

Instance Method Summary collapse

Instance Method Details

#plan(content_view, content_view_params) ⇒ Object



5
6
7
8
# File 'app/lib/actions/katello/content_view/update.rb', line 5

def plan(content_view, content_view_params)
  action_subject content_view
  content_view.update_attributes!(content_view_params)
end