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

move require at the top of the file

Christophe Bliardfc6fe5e59c18
diff --git a/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%.rb.tt b/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%.rb.tt
index 04c19a2c368..3b363af213c 100644
--- a/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%.rb.tt
+++ b/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%.rb.tt
@@ -1,5 +1,6 @@
+require "open_project/<%= plugin_name %>/engine"
+
module OpenProject
module <%= plugin_name.camelcase %>
- require "open_project/<%= plugin_name %>/engine"
end
end