Mercurial > hg > soundsoftware-site
diff app/controllers/projects_controller.rb @ 929:5f33065ddc4b redmine-1.3
Update to Redmine SVN rev 9414 on 1.3-stable branch
author | Chris Cannam |
---|---|
date | Wed, 27 Jun 2012 14:54:18 +0100 |
parents | cbb26bc654de |
children | ec1c49528f36 433d4f72a19b |
line wrap: on
line diff
--- a/app/controllers/projects_controller.rb Fri Feb 24 19:09:32 2012 +0000 +++ b/app/controllers/projects_controller.rb Wed Jun 27 14:54:18 2012 +0100 @@ -66,7 +66,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 }