Commit e0712cb5e8594811f618e3fb6279bfbdfb24520c
1 parent
57a7832e
Exists in
master
and in
79 other branches
Small fix in create_categories task
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/create_categories.rake
... | ... | @@ -2,7 +2,7 @@ namespace :software do |
2 | 2 | desc "Create software categories" |
3 | 3 | task :create_categories => :environment do |
4 | 4 | Environment.all.each do |env| |
5 | - if env.plugin_enabled?("MpogSoftware") | |
5 | + if env.plugin_enabled?("MpogSoftwarePlugin") | |
6 | 6 | software = Category.create!(:name => _("Software"), :environment => env) |
7 | 7 | Category.create!(:name => _("Agriculture, Fisheries and Extraction"), :environment => env, :parent => software) |
8 | 8 | Category.create!(:name => _("Science, Information and Communication"), :environment => env, :parent => software) | ... | ... |