deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [2/4] git commit: Fix bug in images show.xml ... hwp.name vs hwp.id
Date Mon, 10 Dec 2012 12:42:52 GMT
Fix bug in images show.xml ... hwp.name vs hwp.id


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/edcd9874
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/edcd9874
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/edcd9874

Branch: refs/heads/master
Commit: edcd98746456f48a05d6f5a3fc64c822a52752ca
Parents: da8e09c
Author: marios <marios@redhat.com>
Authored: Mon Nov 19 12:51:23 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Mon Dec 10 14:38:24 2012 +0200

----------------------------------------------------------------------
 server/views/images/show.xml.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/edcd9874/server/views/images/show.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/images/show.xml.haml b/server/views/images/show.xml.haml
index 66b4f9a..6350706 100644
--- a/server/views/images/show.xml.haml
+++ b/server/views/images/show.xml.haml
@@ -12,7 +12,7 @@
   - if @image.hardware_profiles
     %hardware_profiles
       - @image.hardware_profiles.each do |profile|
-        %hardware_profile{ :href => hardware_profile_url(profile.name), :id => profile.name,
:rel => :hardware_profile }
+        %hardware_profile{ :href => hardware_profile_url(profile.id), :id => profile.id,
:rel => :hardware_profile }
   %actions
     %link{ :rel => 'create_instance', :method => :post, :href => "#{instances_url};image_id=#{@image.id}"}
     %link{ :rel => 'destroy_image', :method => :delete, :href => "#{destroy_image_url(@image.id)}"
}


Mime
View raw message