diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-13 10:48:41 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-13 10:48:41 +0100 |
commit | 0bebe32645cab1b7cead7bf2875a555f33dfd35c (patch) | |
tree | 730c9e44d60038c68c343c017b0ead2b18135e1e /application.rb | |
parent | 3442fc5206c3c752263a723b962847807e30503a (diff) |
added respective content_type/s to all rest calls
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application.rb b/application.rb index bbd599f..55a7598 100644 --- a/application.rb +++ b/application.rb @@ -16,10 +16,12 @@ get '/examples/?' do end get '/prepare_examples/?' do + content_type "text/plain" Example.prepare_example_resources end get '/test_examples/?' do + content_type "text/plain" Example.test_examples end |