diff options
Diffstat (limited to 'lib/redmine/default_data/loader.rb')
-rw-r--r-- | lib/redmine/default_data/loader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/default_data/loader.rb b/lib/redmine/default_data/loader.rb index 5eed3d9b0..e0e0cc86d 100644 --- a/lib/redmine/default_data/loader.rb +++ b/lib/redmine/default_data/loader.rb @@ -45,7 +45,7 @@ module Redmine manager.permissions = manager.setable_permissions.collect {|p| p.name} manager.save! - developper = Role.create! :name => l(:default_role_developper), + developer = Role.create! :name => l(:default_role_developer), :position => 2, :permissions => [:manage_versions, :manage_categories, @@ -146,7 +146,7 @@ module Redmine Tracker.find(:all).each { |t| [new, in_progress, resolved, feedback].each { |os| [in_progress, resolved, feedback, closed].each { |ns| - Workflow.create!(:tracker_id => t.id, :role_id => developper.id, :old_status_id => os.id, :new_status_id => ns.id) unless os == ns + Workflow.create!(:tracker_id => t.id, :role_id => developer.id, :old_status_id => os.id, :new_status_id => ns.id) unless os == ns } } } |