On 12/08/2011 12:10 AM, Scott Seago wrote:
---
src/app/views/images/show.html.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 707cce3..802a994 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -6,7 +6,7 @@
= link_to t('images.index.images'), images_path
.button-group
= button_to t("delete"), image_path((a)image.id), :method =>
'delete', :confirm => "Are you sure you want to delete?", :class
=> 'button danger', :id => 'delete'
- = link_to t('.new_deployable_from_image'),
new_catalog_entry_path(:create_from_image => @image.id)
+ = link_to t('.new_deployable_from_image'),
new_deployable_path(:create_from_image => @image.id)
%section.admin-content-section
%header
I just pushed this trivial patch. It just fixes the 'new
deployable'
link on the image view to point to the right controller. I've tested it
and re-run cucumber tests to make sure nothing breaks.
Scott