Use same capitalization for all headings.

This commit is contained in:
Konstantin Haase 2011-01-11 11:05:28 +01:00
parent 9269686ad6
commit 83a1683c60
1 changed files with 6 additions and 6 deletions

View File

@ -827,7 +827,7 @@ Run when the environment is set to either <tt>:production</tt> or
... ...
end end
== Error handling == Error Handling
Error handlers run within the same context as routes and before filters, which Error handlers run within the same context as routes and before filters, which
means you get all the goodies it has to offer, like <tt>haml</tt>, means you get all the goodies it has to offer, like <tt>haml</tt>,
@ -887,7 +887,7 @@ Or a range:
Sinatra installs special <tt>not_found</tt> and <tt>error</tt> handlers when Sinatra installs special <tt>not_found</tt> and <tt>error</tt> handlers when
running under the development environment. running under the development environment.
== Mime types == Mime Types
When using <tt>send_file</tt> or static files you may have mime types Sinatra When using <tt>send_file</tt> or static files you may have mime types Sinatra
doesn't understand. Use +mime_type+ to register them by file extension: doesn't understand. Use +mime_type+ to register them by file extension:
@ -1004,7 +1004,7 @@ Sinatra::Base components with two modifications:
including the built-in server. See {Options and Configuration}[http://sinatra.github.com/configuration.html] including the built-in server. See {Options and Configuration}[http://sinatra.github.com/configuration.html]
for details on available options and their behavior. for details on available options and their behavior.
=== Serving a modular app === Serving a Modular Application
There are two common options for starting a modular app, activly starting with There are two common options for starting a modular app, activly starting with
<tt>run!</tt>: <tt>run!</tt>:
@ -1033,7 +1033,7 @@ Run:
rackup -p 4567 rackup -p 4567
=== Using a classic app with a config.ru === Using a Classic Style Application with a config.ru
Write your app file: Write your app file:
@ -1184,7 +1184,7 @@ Have a look at the code for yourself: here's the
{Sinatra::Delegator mixin}[http://github.com/sinatra/sinatra/blob/ceac46f0bc129a6e994a06100aa854f606fe5992/lib/sinatra/base.rb#L1128] {Sinatra::Delegator mixin}[http://github.com/sinatra/sinatra/blob/ceac46f0bc129a6e994a06100aa854f606fe5992/lib/sinatra/base.rb#L1128]
being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/ceac46f0bc129a6e994a06100aa854f606fe5992/lib/sinatra/main.rb#L28]. being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/ceac46f0bc129a6e994a06100aa854f606fe5992/lib/sinatra/main.rb#L28].
== Command line == Command Line
Sinatra applications can be run directly: Sinatra applications can be run directly:
@ -1225,7 +1225,7 @@ To update the Sinatra sources in the future:
cd myproject/sinatra cd myproject/sinatra
git pull git pull
== More == Further Reading
* {Project Website}[http://www.sinatrarb.com/] - Additional documentation, * {Project Website}[http://www.sinatrarb.com/] - Additional documentation,
news, and links to other resources. news, and links to other resources.