Mercurial > hg > soundsoftware-site
diff 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 |
line wrap: on
line diff
--- a/app/controllers/projects_controller.rb Wed Jun 27 14:56:14 2012 +0100 +++ b/app/controllers/projects_controller.rb Wed Jun 27 15:04:58 2012 +0100 @@ -79,7 +79,8 @@ def new @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") @trackers = Tracker.all - @project = Project.new(params[:project]) + @project = Project.new + @project.safe_attributes = params[:project] end verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed }