From: Michal Fojtik <[email protected]>
Signed-off-by: Michal fojtik <[email protected]> --- server/lib/cimi/service/volume_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/cimi/service/volume_template.rb b/server/lib/cimi/service/volume_template.rb index d95ba72..89d2879 100644 --- a/server/lib/cimi/service/volume_template.rb +++ b/server/lib/cimi/service/volume_template.rb @@ -34,7 +34,7 @@ class CIMI::Service::VolumeTemplate < CIMI::Service::Base end def self.delete!(id, context) - current_db.volume_templates.first(:id => id).destroy + current_db.volume_templates_dataset.first(:id => id).destroy end def self.from_db(model, context) -- 1.8.1.4
