summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-05-28 01:44:24 -0700
committerelijah <elijah@riseup.net>2015-05-28 01:44:24 -0700
commitfc1cffcacfa0e885c481e9d993f7c541673912c8 (patch)
tree88b5f3d25232396bccc017cdc09d61ed31f8df9b /lib
initial commit.
Diffstat (limited to 'lib')
-rw-r--r--lib/version_report/hooks.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/version_report/hooks.rb b/lib/version_report/hooks.rb
new file mode 100644
index 0000000..d0d2776
--- /dev/null
+++ b/lib/version_report/hooks.rb
@@ -0,0 +1,5 @@
+module VersionReport
+ class Hooks < Redmine::Hook::ViewListener
+ render_on :view_versions_show_contextual, :partial => 'hooks/view_report_link'
+ end
+end \ No newline at end of file