summaryrefslogtreecommitdiff
path: root/init.rb
diff options
context:
space:
mode:
Diffstat (limited to 'init.rb')
-rw-r--r--init.rb13
1 files changed, 10 insertions, 3 deletions
diff --git a/init.rb b/init.rb
index 657be0f..e805601 100644
--- a/init.rb
+++ b/init.rb
@@ -1,9 +1,16 @@
require_dependency 'redmine_hacks/timelog_hooks'
+require_dependency 'redmine_hacks/auto_complete_patch'
+require_dependency 'auto_completes_controller'
+
+# re-apply whenever the controller is unloaded
+Rails.configuration.to_prepare do
+ AutoCompletesController.send(:include, RedmineHacks::AutoCompletePatch)
+end
Redmine::Plugin.register :redmine_hacks do
- name 'redmine hacks'
+ name 'Redmine Hacks'
author 'LEAP'
- description 'various hacks to redmine'
- version '0.0.1'
+ description 'Various hacks to Redmine used by LEAP'
+ version '0.0.2'
url 'https://leap.se/git/redmine_hacks.git'
end