summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-02-19 11:28:29 +0100
committermguetlein <martin.guetlein@gmail.com>2011-02-19 11:28:29 +0100
commite77fd138b4de5e467ded21ef075828e2b04e7928 (patch)
treebfbf27fae3084681110e3bd32c30792f0b3df250 /application.rb
parent299552130b7deb821f7de544f153a9ebf00929db (diff)
add subject-id to to-html, minor changes
Diffstat (limited to 'application.rb')
-rwxr-xr-xapplication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index c18b05e..f543167 100755
--- a/application.rb
+++ b/application.rb
@@ -19,7 +19,7 @@ get '/examples/?' do
if request.env['HTTP_ACCEPT'] =~ /text\/html/
content_type "text/html"
- OpenTox.text_to_html Example.transform_example
+ OpenTox.text_to_html Example.transform_example,@subjectid
else
content_type "text/plain"
Example.transform_example