[#4177] Hooked up the create action for contracts.

This commit is contained in:
Eric Davis
2010-06-21 14:00:04 -07:00
parent 0911ab08d3
commit a77fa40207
5 changed files with 33 additions and 2 deletions
+4
View File
@@ -6,6 +6,10 @@ class ContractsController < InheritedResources::Base
before_filter :find_project
before_filter :authorize
def create
create! { contract_url(@project, resource) }
end
protected
def begin_of_association_chain