diff --git a/app/helpers/redmine_restructuredtext_formatter/helper.rb b/app/helpers/redmine_restructuredtext_formatter/helper.rb index aeb18bd..766224a 100644 --- a/app/helpers/redmine_restructuredtext_formatter/helper.rb +++ b/app/helpers/redmine_restructuredtext_formatter/helper.rb @@ -4,8 +4,7 @@ module Helper def wikitoolbar_for(field_id) heads_for_wiki_formatter - url = Redmine::Utils.relative_url_root + - Engines::RailsExtensions::AssetHelpers.plugin_asset_path('redmine_restructuredtext_formatter', 'help', 'restructuredtext_syntax.html') + url = Engines::RailsExtensions::AssetHelpers.plugin_asset_path('redmine_restructuredtext_formatter', 'help', 'restructuredtext_syntax.html') help_link = l(:setting_text_formatting) + ': ' + link_to(l(:label_help), url, :onclick => "window.open(\"#{url}\", \"\", \"resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\"); return false;")