Mercurial > hg > soundsoftware-site
diff app/models/project.rb @ 680:65abc6b39292 live
Transfer custom welcome-page code from mainline to bibliography plugin code.
This is far too awkward. We need a better way.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 14 Sep 2011 14:26:22 +0100 |
parents | 851510f1b535 |
children | 5e80956cc792 |
line wrap: on
line diff
--- a/app/models/project.rb Tue Sep 13 17:02:51 2011 +0100 +++ b/app/models/project.rb Wed Sep 14 14:26:22 2011 +0100 @@ -597,7 +597,8 @@ 'custom_field_values', 'custom_fields', 'tracker_ids', - 'issue_custom_field_ids' + 'issue_custom_field_ids', + 'has_welcome_page' safe_attributes 'enabled_module_names', :if => lambda {|project, user| project.new_record? || user.allowed_to?(:select_project_modules, project) }