Mercurial > hg > soundsoftware-site
comparison app/controllers/projects_controller.rb @ 931:ec1c49528f36 cannam_integration
Merge from branch "redmine-1.3"
author | Chris Cannam |
---|---|
date | Wed, 27 Jun 2012 15:04:58 +0100 |
parents | b03f28dd9026 5f33065ddc4b |
children | 3e52bc15dd67 |
comparison
equal
deleted
inserted
replaced
930:027cc0f5d4a2 | 931:ec1c49528f36 |
---|---|
77 end | 77 end |
78 | 78 |
79 def new | 79 def new |
80 @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") | 80 @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") |
81 @trackers = Tracker.all | 81 @trackers = Tracker.all |
82 @project = Project.new(params[:project]) | 82 @project = Project.new |
83 @project.safe_attributes = params[:project] | |
83 end | 84 end |
84 | 85 |
85 verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } | 86 verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } |
86 def create | 87 def create |
87 @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") | 88 @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") |