WIP: need to finish up the backend still, some frontend is here for integration testing.

This commit is contained in:
Eric Davis committed 2010-09-08 17:54:59 -07:00
1 parent 82dec74eb7
commit 394236c741
3 files changed
+38 -10

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@ class DeliverablesController < InheritedResources::Base
def show
if show_partial?
render :partial => 'deliverables/details_row', :locals => {:contract => @contract, :deliverable => @contract.deliverables.find(params[:id])}
@period = params[:period]
render :partial => 'deliverables/details_row', :locals => {:contract => @contract, :deliverable => @contract.deliverables.find(params[:id]), :period => @period}
else
redirect_to contract_url(@project, @contract)
end