Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #55 from FranklinChen/master

Fixed a few typos etc.
  • Loading branch information...
commit 389efbc141f52c4013d8a6f76dfa8687a5875e3a 2 parents acccbde + cf1b3f3
@zzak zzak authored
Showing with 6 additions and 5 deletions.
  1. +2 −2 book/Getting_to_know_Sinatra.markdown
  2. +4 −3 book/Views.markdown
View
4 book/Getting_to_know_Sinatra.markdown
@@ -50,7 +50,7 @@ As you can see from this contrived example, Sinatra's routing is very easy to ge
along with. Don't be fooled, though, Sinatra can do some pretty amazing things
with Routes.
-Take a more indepth look at [Sinatra's routes][routes], and see for yourself.
+Take a more in-depth look at [Sinatra's routes][routes], and see for yourself.
[routes]: http://www.sinatrarb.com/intro#Routes
[restful-web-services]: http://en.wikipedia.org/wiki/Representational_State_Transfer#RESTful_web_services
@@ -67,7 +67,7 @@ match to the request.
### before
The `before` method will let you pass a block to be evaluated **before** _each_
-and_every_ route gets processed.
+and _every_ route gets processed.
before do
MyStore.connect unless MyStore.connected?
View
7 book/Views.markdown
@@ -4,9 +4,9 @@ Views
RSS Feed
--------
-The builder gem/library is required to in this recipe
+The [builder][builder] gem/library for creating XML is required in this recipe.
-Assume that your site url is http://liftoff.msfc.nasa.gov/.
+Assume that your site url is `http://liftoff.msfc.nasa.gov/`.
get '/rss.xml' do
builder do |xml|
@@ -31,7 +31,7 @@ Assume that your site url is http://liftoff.msfc.nasa.gov/.
end
end
-This will render the rss inline, directly from the handler.
+This will render the RSS inline, directly from the handler.
CoffeeScript
------------
@@ -95,6 +95,7 @@ in your application, these are a great place to start:
[therubyracer]: http://github.com/cowboyd/therubyracer
[coffee-script-repo]: http://github.com/jashkenas/coffee-script
[coffee-script-url]: http://coffeescript.org/
+[builder]: http://builder.rubyforge.org/
[rake]: http://rake.rubyforge.org/
[nodejs]: http://nodejs.org/
[ruby-coffee-script]: http://github.com/josh/ruby-coffee-script
Please sign in to comment.
Something went wrong with that request. Please try again.