diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-09-13 12:13:28 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-09-13 12:13:28 +0200 |
commit | 3cf7ecd7f1f4811e1b7f77ebc36cf280268b495c (patch) | |
tree | 505976cabb16afd6804b2fd78fb753e3ec726d5a /report/report_application.rb | |
parent | 0acc756e0f2db27abeacf9e229a910df315d279d (diff) |
fix report dtd
Diffstat (limited to 'report/report_application.rb')
-rw-r--r-- | report/report_application.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/report/report_application.rb b/report/report_application.rb index 12775cc..f76ff32 100644 --- a/report/report_application.rb +++ b/report/report_application.rb @@ -18,6 +18,12 @@ def perform end +get '/+'ENV['REPORT_DTD'] do + content_type "application/xml-dtd" + body(File.new(ENV['REPORT_DTD'])) +end + + get '/report/:type/css_style_sheet/?' do perform do |rs| "@import \""+params[:css_style_sheet]+"\";" |