diff --git a/lib/tasks/create_categories.rake b/lib/tasks/create_categories.rake index 4dfc182..4bf9089 100644 --- a/lib/tasks/create_categories.rake +++ b/lib/tasks/create_categories.rake @@ -2,7 +2,7 @@ namespace :software do desc "Create software categories" task :create_categories => :environment do Environment.all.each do |env| - if env.plugin_enabled?("MpogSoftware") + if env.plugin_enabled?("MpogSoftwarePlugin") software = Category.create!(:name => _("Software"), :environment => env) Category.create!(:name => _("Agriculture, Fisheries and Extraction"), :environment => env, :parent => software) Category.create!(:name => _("Science, Information and Communication"), :environment => env, :parent => software) -- libgit2 0.21.2