summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/hook.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb
index bc8dc7e1c..7f518d8d4 100644
--- a/lib/redmine/hook.rb
+++ b/lib/redmine/hook.rb
@@ -96,7 +96,7 @@ module Redmine
# Default to creating links using only the path. Subclasses can
# change this default as needed
def self.default_url_options
- {:only_path => true }
+ {:only_path => true, :script_name => Redmine::Utils.relative_url_root}
end
# Helper method to directly render using the context,