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

Samridh samridh90 at gmail.com
Tue Jul 17 17:09:14 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 e7f26c5..88dc24a 100644
--- a/src/config/routes.rb
+++ b/src/config/routes.rb
@@ -285,6 +285,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