You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2012/02/28 17:10:50 UTC
[PATCH 2/7] Minor edit to show retrieved instance rather than redirect (or lose one-time-returned password)
From: marios <ma...@redhat.com>
Signed-off-by: marios <ma...@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