From: Michal Fojtik <[email protected]>
Signed-off-by: Michal fojtik <[email protected]> --- server/lib/cimi/collections/address_templates.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/cimi/collections/address_templates.rb b/server/lib/cimi/collections/address_templates.rb index 338d0f4..6e9c28f 100644 --- a/server/lib/cimi/collections/address_templates.rb +++ b/server/lib/cimi/collections/address_templates.rb @@ -59,9 +59,9 @@ module CIMI::Collections end operation :destroy do - description "Delete a specified machine template" + description "Delete a specified AddressTemplate" control do - CIMI::Model::MachineTemplate.delete!(params[:id], self) + CIMI::Model::AddressTemplate.delete!(params[:id], self) no_content_with_status(200) end end -- 1.8.0.2
