Commit 0beed242bd3452616b219cc98ae48b90847a2707

more whitespace cleanups
  
3232 [ADDED] spec/requests/birds_spec.rb
3333 [ADDED] app/helpers/birds_helper.rb
3434{:lang=shell html_use_syntax=true}
35
35
3636or
3737
38 $ merb-gen resource_controller
38 $ merb-gen resource_controller
3939{:lang=shell html_use_syntax=true}
4040
4141
42The first command will generate a controller with an ``index action`` and
42The first command will generate a controller with an ``index action`` and
4343an ``index view``(template).
44
44
4545+-- {: .notes}
4646 If you realized you made a mistake when generating your controller,
4747 You can delete the generated controller by appending ``-d`` at the
  
2626
2727## Reverse Proxy (optional)
2828
29The first stop for a request in a live application is usually a reverse proxy like
29The first stop for a request in a live application is usually a reverse proxy like
3030[NginX][] or [Apache mod\_proxy][].
3131Depending on the setup, these proxies may serve static files like images,
3232CSS style sheets, JavaScript, videos etc.
7272The request then sends itself to the controller.
7373
7474The Router's job is to set up parameters extracted from the request
75and to tell the request where to go.
75and to tell the request where to go.
7676In most cases, the router maps a request to a controller method (action) and also
7777sets up parameters extracted from the request.
7878
  
1010However, with the help of the Ruby Community, we will be able to cover most
1111of what you need to use Merb on a daily basis.
1212
13If you are learning through this material, or if you already use Merb
13If you are learning through this material, or if you already use Merb
1414frequently, **please consider helping improve the content of this book**.
1515=--
1616