incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r1099607 - /incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml
Date Wed, 04 May 2011 21:03:36 GMT
Author: lutter
Date: Wed May  4 21:03:35 2011
New Revision: 1099607

URL: http://svn.apache.org/viewvc?rev=1099607&view=rev
Log:
Create the correct HREF for loadbalancers.

Due to what I suppose was a rogue copy-n-paste, the HREF in
the XML output from a loadbalancer pointed to a key URL, not
a load_balancer URL.  Fix that here.

Signed-off-by: Chris Lalancette <clalance@redhat.com>

Modified:
    incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml

Modified: incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml?rev=1099607&r1=1099606&r2=1099607&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml (original)
+++ incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml Wed May  4 21:03:35
2011
@@ -1,6 +1,6 @@
 - unless defined?(partial)
   !!! XML
-%load_balancer{ :href => key_url(@load_balancer.id), :id => @load_balancer.id}
+%load_balancer{ :href => load_balancer_url(@load_balancer.id), :id => @load_balancer.id}
   %actions
     %link{ :rel => "destroy", :method => "delete", :href => destroy_load_balancer_url(@load_balancer.id)}
   %public_addresses



Mime
View raw message