Doc for content_type :foo
This commit is contained in:
parent
7c5d693718
commit
cb8fcb6350
|
@ -445,6 +445,10 @@ doesn't understand. Use +mime_type+ to register them by file extension:
|
||||||
|
|
||||||
mime_type :foo, 'text/foo'
|
mime_type :foo, 'text/foo'
|
||||||
|
|
||||||
|
You can also use it with the +content_type+ helper:
|
||||||
|
|
||||||
|
content_type :foo
|
||||||
|
|
||||||
== Rack Middleware
|
== Rack Middleware
|
||||||
|
|
||||||
Sinatra rides on Rack[http://rack.rubyforge.org/], a minimal standard
|
Sinatra rides on Rack[http://rack.rubyforge.org/], a minimal standard
|
||||||
|
|
Loading…
Reference in New Issue