Skip to content

Commit

Permalink
Redmine 5 comptibility
Browse files Browse the repository at this point in the history
Redmine 5 uses Zeitwerk, which can't find the require if it's not
relative.

Fixes: paginagmbh#88
  • Loading branch information
evgeni committed Aug 29, 2023
1 parent dd5f80b commit 875951a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'redmine'

require_dependency 'patches/attachments_patch'
require_dependency 'hooks/view_layouts_base_html_head_hook'
require_relative 'lib/patches/attachments_patch'
require_relative 'lib/hooks/view_layouts_base_html_head_hook'

Redmine::Plugin.register :redmine_lightbox2 do
name 'Redmine Lightbox 2'
Expand Down

0 comments on commit 875951a

Please sign in to comment.