Index: app/controllers/projects_controller.rb =================================================================== --- app/controllers/projects_controller.rb (revision 9299) +++ app/controllers/projects_controller.rb (working copy) @@ -78,6 +78,7 @@ @project.safe_attributes = params[:project] if validate_parent_id && @project.save + call_hook(:controller_projects_new_after_save, { :params => params, :project => @project}) @project.set_allowed_parent!(params[:project]['parent_id']) if params[:project].has_key?('parent_id') # Add current user as a project member if he is not admin unless User.current.admin?