diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-06-25 20:52:28 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-06-25 20:52:28 +0200 |
commit | 7b8dfc1b6f8daa8305d6506ceb54b7ffff5f72f6 (patch) | |
tree | 46d22df1b9ce9166cba4265d8beecb99915242e1 /report/report_application.rb | |
parent | 6c663f3bb95b45d5cb7e356ff6d1913a3e03212c (diff) |
reorganized requires, added install_gems to Rakefile, text/x-yaml to application/x-yaml
Diffstat (limited to 'report/report_application.rb')
-rw-r--r-- | report/report_application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/report/report_application.rb b/report/report_application.rb index dc61e3a..27c44b6 100644 --- a/report/report_application.rb +++ b/report/report_application.rb @@ -64,7 +64,7 @@ get '/report/:type/:id' do format = Reports::ReportFormat.get_format(accept_header) content_type format #PENDING: get_report should return file or string, check for result.is_file instead of format - if format=="text/x-yaml" or format=="application/rdf+xml" + if format=="application/x-yaml" or format=="application/rdf+xml" report else result = body(File.new(report)) |