From 0be024919d1e2d29f618eef1e3e76c01afa4d4f4 Mon Sep 17 00:00:00 2001 From: whotopia <9039050+whotopia@users.noreply.github.com> Date: Fri, 1 Sep 2023 18:35:03 +0200 Subject: [PATCH] Update init.rb - for 5.0 Compatibility --- init.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.rb b/init.rb index ed63fa5..a3034f3 100644 --- a/init.rb +++ b/init.rb @@ -1,7 +1,7 @@ require 'redmine' -require_dependency "redmine_google_drive_preview_patch" -require_dependency "redmine_google_drive_preview_macros" +require_dependency File.expand_path('lib/redmine_google_drive_preview_patch', __dir__) +require_dependency File.expand_path('lib/redmine_google_drive_preview_macros', __dir__) Redmine::Plugin.register :redmine_google_drive_preview do name 'Redmine Google Drive Preview'