From cb8fcb6350a49106073bf8e1c280ea2f7e2a8df2 Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Wed, 23 Dec 2009 03:12:23 +0100 Subject: [PATCH] Doc for content_type :foo --- README.rdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rdoc b/README.rdoc index 58267703..a98df3b7 100644 --- a/README.rdoc +++ b/README.rdoc @@ -445,6 +445,10 @@ doesn't understand. Use +mime_type+ to register them by file extension: mime_type :foo, 'text/foo' +You can also use it with the +content_type+ helper: + + content_type :foo + == Rack Middleware Sinatra rides on Rack[http://rack.rubyforge.org/], a minimal standard