[Ovirt-devel] [PATCH server 8/8] REST route for storage volumes
David Lutterkort
lutter at redhat.com
Mon Jan 26 21:12:05 UTC 2009
---
src/config/routes.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/config/routes.rb b/src/config/routes.rb
index 132072e..168ded5 100644
--- a/src/config/routes.rb
+++ b/src/config/routes.rb
@@ -53,6 +53,7 @@ ActionController::Routing::Routes.draw do |map|
# REST work out of the box, and use these as the default routes
map.resources :hosts, :controller => 'host'
map.resources :storage_pools, :controller => 'storage'
+ map.resources :storage_volumes, :controller => 'storage_volume'
map.resources :hardware_pools, :controller => 'hardware' do |hardware_pools|
hardware_pools.resources :hosts, :controller => 'host'
hardware_pools.resources :storage_pools, :controller => 'storage'
--
1.6.0.6
More information about the ovirt-devel
mailing list