WIP: need to finish up the backend still, some frontend is here for integration testing.
This commit is contained in:
1 parent
82dec74eb7
commit
394236c741
3 files changed
+38
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user