Revision 1ebbb668
Added by Justin Sherrill over 10 years ago
app/controllers/katello/api/v2/content_views_controller.rb | ||
---|---|---|
:create => create_rule,
|
||
:update => edit_rule,
|
||
:publish => publish_rule,
|
||
:available_puppet_modules => view_rule
|
||
:available_puppet_modules => view_rule,
|
||
:history => view_rule
|
||
}
|
||
end
|
||
|
||
... | ... | |
:collection => item_search(PuppetModule, params, options)
|
||
end
|
||
|
||
api :GET, "/content_views/:id/history", "Show a content view's history"
|
||
param :id, :number, :desc => "content view numeric identifier", :required => true
|
||
def history
|
||
respond_for_index(:collection => @view.history)
|
||
end
|
||
|
||
private
|
||
|
||
def find_content_view
|
Also available in: Unified diff
initial cv publishing work