aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-07-15 23:06:37 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-07-15 23:06:37 +0530
commitff410c4ea9ea54b3f4b9d5838703a4b039a1cf3f (patch)
tree312485e61a31497c7e87116d6b746a0be4566155 /actionpack
parent0894d73c7552a4c7d576b7d3692c6a18faadd273 (diff)
downloadrails-ff410c4ea9ea54b3f4b9d5838703a4b039a1cf3f.tar.gz
rails-ff410c4ea9ea54b3f4b9d5838703a4b039a1cf3f.tar.bz2
rails-ff410c4ea9ea54b3f4b9d5838703a4b039a1cf3f.zip
Revert "Fix wildcard route code examples."
This reverts commit 0894d73c7552a4c7d576b7d3692c6a18faadd273. Reason: CHANGELOGs should not be changed in docrails.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 9d320ddb8d..b0f7d0bc11 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -101,11 +101,11 @@
For example if you have this route:
- match '*pages' => 'pages#show'
+ map '*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:
- match '*pages' => 'pages#show', :format => false
+ map '*pages' => 'pages#show', :format => false
* Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call [DHH]