@@ -5,7 +5,7 class CreateEnabledModules < ActiveRecord::Migration | |||
|
5 | 5 | t.column :name, :string, :null => false |
|
6 | 6 | end |
|
7 | 7 | add_index :enabled_modules, [:project_id], :name => :enabled_modules_project_id |
|
8 | ||
|
8 | ||
|
9 | 9 | # Enable all modules for existing projects |
|
10 | 10 | Project.find(:all).each do |project| |
|
11 | 11 | project.enabled_module_names = Redmine::AccessControl.available_project_modules |
General Comments 0
You need to be logged in to leave comments.
Login now