Permalink
Browse files

Fixed a markdown syntax error. Watch out for lines like: params[:xxx]…

…, since markdown thinks that's a url reference
  • Loading branch information...
1 parent 34ce7dc commit 032d1716ab353824d37f1a80f6b23686bb94f8bf @cschneid cschneid committed Nov 1, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/Routes.markdown
View
@@ -56,7 +56,7 @@ other methods
-------------
Other methods are requested exactly the same as "get" routes. You simply use
the "post", "put", or "delete" functions to define the route, rather then the
-"get" one. To access POSTed parameters, use params[:xxx] where xxx is the name
+"get" one. To access POSTed parameters, use params\[:xxx\] where xxx is the name
of the form element that was posted.
post '/foo' do

0 comments on commit 032d171

Please sign in to comment.