Permalink
Browse files

Doc for content_type :foo

  • Loading branch information...
1 parent 7c5d693 commit cb8fcb6350a49106073bf8e1c280ea2f7e2a8df2 @sr sr committed Dec 23, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rdoc
View
@@ -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

0 comments on commit cb8fcb6

Please sign in to comment.