Permalink
Browse files

Fixed Grammatical Error

21: Semicolons are used to connect independent clauses of equal weight.
54: Now using parallel structure
  • Loading branch information...
derekpovah committed May 5, 2017
1 parent 26198f2 commit eeb60d61a8c297ff71914d18d0679f040f512de0
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/guides/routing/overview.md
@@ -18,7 +18,7 @@ Then start the server with `bundle exec hanami server` and visit [http://localho
You should see `Hello from Hanami!` in your browser.
Let's explain what we just did.
We created a **route**, an application can have many routes.
We created a **route**; an application can have many routes.
Each route starts with an [HTTP verb](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html) declaration, `get` in our case.
Then we specify a relative URI (`/hello` for us) and the object that is responsible to respond to incoming requests.
@@ -51,7 +51,7 @@ root to: "home#index" # => will route to Web::Controllers::Home::Index
The first token is the name of the controller `"home"` is translated to `Home`.
The same transformation will be applied to the name after the `#`: `"index"` to `Index`.
Hanami is able to figure out the namespace (`Web::Controllers`) and to compose the full class name.
Hanami is able to figure out the namespace (`Web::Controllers`) and compose the full class name.
## Rack

0 comments on commit eeb60d6

Please sign in to comment.