Project modules are checked (default) when creating a project.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@730 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-09-15 08:56:31 +00:00
parent f2a058f8cf
commit 4967f10356
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class ProjectsController < ApplicationController
@custom_fields = IssueCustomField.find(:all)
@root_projects = Project.find(:all, :conditions => "parent_id IS NULL AND status = #{Project::STATUS_ACTIVE}")
@project = Project.new(params[:project])
@project.enabled_module_names = Redmine::AccessControl.available_project_modules
if request.get?
@custom_values = ProjectCustomField.find(:all).collect { |x| CustomValue.new(:custom_field => x, :customized => @project) }
else