mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 17:51:59 -04:00
Redmine 5
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stopwatch
|
||||
def self.setup
|
||||
Stopwatch::ContextMenusControllerPatch.apply
|
||||
Stopwatch::IssuesControllerPatch.apply
|
||||
::TimeEntry.prepend Stopwatch::TimeEntryPatch
|
||||
::User.prepend Stopwatch::UserPatch
|
||||
Stopwatch::Hooks # just load it
|
||||
end
|
||||
|
||||
|
||||
def self.settings
|
||||
Setting.plugin_stopwatch
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user