Fix plugin loading when occurring after openproject-plugins in Gemfile

pull/6827/head
Michael Frister 11 years ago committed by Michael Frister
parent 6c39125a26
commit 1273bed45a
  1. 4
      lib/open_project/my_project_page/engine.rb

@ -18,6 +18,10 @@
# See doc/COPYRIGHT.md for more details.
#++
# Prevent load-order problems in case openproject-plugins is listed after a plugin in the Gemfile
# or not at all
require 'open_project/plugins'
require 'rails/engine'
require 'open_project/my_project_page/plugin_blocks'

Loading…
Cancel
Save