Project

General

Profile

Defect #99 ยป projects_controller.patch

Matthijs Dekker, 2008-02-03 10:51

View differences:

/home/matthijs/workspace/redMine/app/controllers/projects_controller.rb (working copy)
i.project = new_project
i.tracker = new_tracker
i.save
# move time_entries for this issue to the new project
TimeEntry.find(:all, :conditions => ["issue_id=?",i.id]).each do |t|
t.project_id = new_project.id
t.save!
end
}
flash[:notice] = l(:notice_successful_update)
redirect_to :action => 'list_issues', :id => @project
    (1-1/1)