[PATCH conductor 4/4] Map api/hardware_profiles to hardware_profiles

Samridh samridh90 at gmail.com
Wed Jul 25 04:55:18 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 3e81885..eda17e0 100644
--- a/src/config/routes.rb
+++ b/src/config/routes.rb
@@ -286,6 +286,7 @@ Conductor::Application.routes.draw do
     end
     resources :provider_accounts, :only => [:index, :show]
     resources :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