From 57fdea4612c5ae3140cc414921d8ddfcd18b183e Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Thu, 1 Jul 2010 16:08:38 -0700 Subject: [PATCH] Fix cancel links when editing a deliverable. --- app/views/deliverables/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/deliverables/edit.html.erb b/app/views/deliverables/edit.html.erb index 09c6900..f67b976 100644 --- a/app/views/deliverables/edit.html.erb +++ b/app/views/deliverables/edit.html.erb @@ -1,7 +1,7 @@ <%= content_tag(:h2, h(resource.title)) %> <% semantic_form_for [@project, @contract, resource], :url => contract_deliverable_path(@project, @contract, resource), :html => {:class => 'tabular'} do |form| %> -<%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, resource)} %> +<%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, @contract)} %> <% end %> <% content_for(:header_tags) do %>