Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix Generator namespace

Oliver Günthereeb2b7eefabb
diff --git a/lib/generators/open_project/plugin/plugin_generator.rb b/lib/generators/open_project/plugin/plugin_generator.rb
index 11bf567c7bb..58d1f5c3619 100644
--- a/lib/generators/open_project/plugin/plugin_generator.rb
+++ b/lib/generators/open_project/plugin/plugin_generator.rb
@@ -28,7 +28,7 @@
require 'rails/generators'
-class Generators::OpenProject::Plugin::PluginGenerator < Rails::Generators::Base
+class OpenProject::PluginGenerator < Rails::Generators::Base
source_root File.expand_path('templates', __dir__)
argument :plugin_name, type: :string, default: 'openproject-new-plugin'