summaryrefslogtreecommitdiff
path: root/report/xml_report.rb
diff options
context:
space:
mode:
Diffstat (limited to 'report/xml_report.rb')
-rwxr-xr-xreport/xml_report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/report/xml_report.rb b/report/xml_report.rb
index b1c5e3c..42a8200 100755
--- a/report/xml_report.rb
+++ b/report/xml_report.rb
@@ -23,7 +23,7 @@ module Reports
def self.dtd_directory
if $url_provider
- $url_provider.url_for("/validation/"+ENV['DOCBOOK_DIRECTORY']+'/'+ENV['REPORT_DTD'], :full)
+ $url_provider.to("/validation/"+ENV['DOCBOOK_DIRECTORY']+'/'+ENV['REPORT_DTD'], :full)
else
f = File.expand_path(File.join(ENV['DOCBOOK_DIRECTORY'],ENV['REPORT_DTD']))
internal_server_error "cannot find dtd" unless File.exist?(f)