deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH 2/7] Minor edit to show retrieved instance rather than redirect (or lose one-time-returned password)
Date Tue, 28 Feb 2012 16:10:50 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 server/lib/deltacloud/server.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/server.rb b/server/lib/deltacloud/server.rb
index 57b7daa..e370f98 100644
--- a/server/lib/deltacloud/server.rb
+++ b/server/lib/deltacloud/server.rb
@@ -500,7 +500,7 @@ END
             haml :"instances/index"
           elsif @instance and @instance.id
             response['Location'] = instance_url(@instance.id)
-            redirect instance_url(@instance.id)
+            haml :"instances/show"
           else
             redirect instances_url
           end
-- 
1.7.6.5


Mime
View raw message