[#4177] Refactored new Contract form to be used with editing a contract.

This commit is contained in:
Eric Davis
2010-06-21 14:25:48 -07:00
parent 5bdbf4e75f
commit c6783f98fd
8 changed files with 82 additions and 29 deletions
+5 -1
View File
@@ -9,7 +9,11 @@ class ContractsController < InheritedResources::Base
def create
create! { contract_url(@project, resource) }
end
def update
update! { contract_url(@project, resource) }
end
protected
def begin_of_association_chain