[#4177] Added a project module for contracts and a stubbed permission.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user