diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-15 14:24:43 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-15 14:24:43 -0700 |
commit | c2b62addfed2ccfb1958a0d5fce8517e01960179 (patch) | |
tree | d98dcdbf54ae4be02f31f73163d60ab148631049 /actionpack/CHANGELOG | |
parent | f88e9d83f13c7d29120696d7e568fae1efea67f4 (diff) | |
parent | d7f4a3ef781a96e848a56ce49ae8208f5037bf52 (diff) | |
download | rails-c2b62addfed2ccfb1958a0d5fce8517e01960179.tar.gz rails-c2b62addfed2ccfb1958a0d5fce8517e01960179.tar.bz2 rails-c2b62addfed2ccfb1958a0d5fce8517e01960179.zip |
Merge pull request #2090 from htanata/fix_wildcard_route_code_in_changelog
Fix wildcard route code example in changelog
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index b0f7d0bc11..9d320ddb8d 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -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] |