Permalink
Browse files

Merge pull request #2090 from htanata/fix_wildcard_route_code_in_chan…

…gelog

Fix wildcard route code example in changelog
  • Loading branch information...
2 parents f88e9d8 + d7f4a3e commit c2b62addfed2ccfb1958a0d5fce8517e01960179 @spastorino spastorino committed Jul 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/CHANGELOG
View
@@ -101,11 +101,11 @@
For example if you have this route:
- map '*pages' => 'pages#show'
+ match '*pages' => 'pages#show'
by requesting '/foo/bar.json', your `params[:pages]` will be equals to "foo/bar" with the request format of JSON. If you want the old 3.0.x behavior back, you could supply `:format => false` like this:
- map '*pages' => 'pages#show', :format => false
+ match '*pages' => 'pages#show', :format => false
* Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call [DHH]

0 comments on commit c2b62ad

Please sign in to comment.