[#4177] Added a project module for contracts and a stubbed permission.

This commit is contained in:
Eric Davis
2010-06-17 14:34:15 -07:00
parent 4ce7595111
commit 7892c577c8
4 changed files with 67 additions and 0 deletions
+10
View File
@@ -2,4 +2,14 @@ class ContractsController < InheritedResources::Base
unloadable
respond_to :html
before_filter :find_project
before_filter :authorize
private
def find_project
@project = Project.find(params[:project_id])
end
end