[PATCH conductor 3/3] routes modified to map /conductor/api/hardware_profiles* to /conductor/hardware_profiles*
Samridh
samridh90 at gmail.com
Mon Jul 9 12:44:12 UTC 2012
---
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 da762a7..3712c0c 100644
--- a/src/config/routes.rb
+++ b/src/config/routes.rb
@@ -268,6 +268,7 @@ Conductor::Application.routes.draw do
resources :providers, :as => 'api_providers', :only => [:index, :show, :create, :update, :destroy]
resources :provider_accounts, :as => 'api_provider_accounts', :only => [:index, :show]
resources :provider_types, :as => 'api_provider_types', :only => [:index, :show]
+ resources :hardware_profiles, :only => [:index, :show, :destroy, :create]
end
#match 'matching_profiles', :to => '/hardware_profiles/matching_profiles/:hardware_profile_id/provider/:provider_id', :controller => 'hardware_profiles', :action => 'matching_profiles', :conditions => { :method => :get }, :as =>'matching_profiles'
--
1.7.7.6
More information about the aeolus-devel
mailing list