@@ -110,9 +110,6 class ProjectsController < ApplicationController | |||||
110 | def copy |
|
110 | def copy | |
111 | @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") |
|
111 | @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") | |
112 | @trackers = Tracker.sorted.all |
|
112 | @trackers = Tracker.sorted.all | |
113 | @root_projects = Project.find(:all, |
|
|||
114 | :conditions => "parent_id IS NULL AND status = #{Project::STATUS_ACTIVE}", |
|
|||
115 | :order => 'name') |
|
|||
116 | @source_project = Project.find(params[:id]) |
|
113 | @source_project = Project.find(params[:id]) | |
117 | if request.get? |
|
114 | if request.get? | |
118 | @project = Project.copy_from(@source_project) |
|
115 | @project = Project.copy_from(@source_project) |
General Comments 0
You need to be logged in to leave comments.
Login now