mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-08-18 22:30:44 -04:00
Updated for redmine 7
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user