Otherwise, a user must manually enter the URL for /conductor/instances in order to find
the key for the instance they just launched.
---
src/app/views/deployments/_pretty_view_show.haml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/app/views/deployments/_pretty_view_show.haml
b/src/app/views/deployments/_pretty_view_show.haml
index 4cb9c13..9b4840e 100644
--- a/src/app/views/deployments/_pretty_view_show.haml
+++ b/src/app/views/deployments/_pretty_view_show.haml
@@ -14,4 +14,6 @@
%li
State:
= instance.state
-
+ - if instance.instance_key
+ %li
+ = link_to("Download key", key_instance_path(instance))
--
1.7.4.4