Updated for redmine 7

This commit is contained in:
2026-07-28 19:17:12 -04:00
parent 60dfa7ae4a
commit e4846bf4ac
+2
View File
@@ -18,4 +18,6 @@ Redmine::Plugin.register :stopwatch do
if: ->(*_){ User.current.logged? and User.current.allowed_to?(:log_time, nil, global: true) } if: ->(*_){ User.current.logged? and User.current.allowed_to?(:log_time, nil, global: true) }
end end
Rails.application.config.to_prepare do
Stopwatch.setup Stopwatch.setup
end