[PATCH] BZ 790823 fix cancel redirect

Tzu-Mainn Chen tzumainn at redhat.com
Wed Feb 15 20:02:18 UTC 2012


---
 src/app/views/images/edit_xml.html.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/views/images/edit_xml.html.haml b/src/app/views/images/edit_xml.html.haml
index 14412c1..ce330e3 100644
--- a/src/app/views/images/edit_xml.html.haml
+++ b/src/app/views/images/edit_xml.html.haml
@@ -17,5 +17,5 @@
 
       .centered
         %fieldset.align-center
-          = link_to t(:cancel), pool_family_path(@environment), :class => 'button danger'
+          = link_to t(:cancel), pool_families_path, :class => 'button danger'
           = submit_tag t('.save_and_continue'), :class => 'button primary', :id => 'save_image'
-- 
1.7.6.5




More information about the aeolus-devel mailing list