You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2011/06/09 14:55:51 UTC

svn commit: r1133843 - /incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml

Author: lutter
Date: Thu Jun  9 12:55:51 2011
New Revision: 1133843

URL: http://svn.apache.org/viewvc?rev=1133843&view=rev
Log:
load_balancers: advertise the 'register' action

Fixes https://issues.apache.org/jira/browse/DTACLOUD-36

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=1133843&r1=1133842&r2=1133843&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml (original)
+++ incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml Thu Jun  9 12:55:51 2011
@@ -3,6 +3,7 @@
 %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)}
+    %link{ :rel => "register", :method => "post", :href => register_load_balancer_url(@load_balancer.id)}
   %public_addresses
     - @load_balancer.public_addresses.each do |address|
       %address #{address}
@@ -18,4 +19,3 @@
     - @load_balancer.instances.each do |instance|
       %instance{:href => instance_url(instance.id), :id => instance.id}
         %link{:rel => "unregister", :href => unregister_load_balancer_url(@load_balancer.id, { :instance_id => instance.id})}
-