##// END OF EJS Templates
Project modules are checked (default) when creating a project....
Jean-Philippe Lang -
r719:4967f10356ea
parent child
Show More
@@ -60,6 +60,7 class ProjectsController < ApplicationController
60 @custom_fields = IssueCustomField.find(:all)
60 @custom_fields = IssueCustomField.find(:all)
61 @root_projects = Project.find(:all, :conditions => "parent_id IS NULL AND status = #{Project::STATUS_ACTIVE}")
61 @root_projects = Project.find(:all, :conditions => "parent_id IS NULL AND status = #{Project::STATUS_ACTIVE}")
62 @project = Project.new(params[:project])
62 @project = Project.new(params[:project])
63 @project.enabled_module_names = Redmine::AccessControl.available_project_modules
63 if request.get?
64 if request.get?
64 @custom_values = ProjectCustomField.find(:all).collect { |x| CustomValue.new(:custom_field => x, :customized => @project) }
65 @custom_values = ProjectCustomField.find(:all).collect { |x| CustomValue.new(:custom_field => x, :customized => @project) }
65 else
66 else
General Comments 0
You need to be logged in to leave comments. Login now