aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-02-21 11:36:15 -0800
committerAndrew White <andyw@pixeltrix.co.uk>2013-02-21 11:36:15 -0800
commitf4b506f60a62e08ec21eab40ecc4b6bc668d4d59 (patch)
treeba7d2fff3c0d10ef61b72f6ec6e756eed3b7189e /actionpack/CHANGELOG.md
parent389397952460d09218bb407be1142e0b62cf3f4f (diff)
parentc88ee76928a85cc34318d0442b38da4c850b7030 (diff)
downloadrails-f4b506f60a62e08ec21eab40ecc4b6bc668d4d59.tar.gz
rails-f4b506f60a62e08ec21eab40ecc4b6bc668d4d59.tar.bz2
rails-f4b506f60a62e08ec21eab40ecc4b6bc668d4d59.zip
Merge pull request #9361 from senny/improved_match_shorthand_syntax
determine the match shorthand target early.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index bf3c81740f..cde0f67dac 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,19 @@
## Rails 4.0.0 (unreleased) ##
+* Determine the controller#action from only the matched path when using the
+ shorthand syntax. Previously the complete path was used, which led
+ to problems with nesting (scopes and namespaces).
+ Fixes #7554.
+
+ Example:
+
+ # this will route to questions#new
+ scope ':locale' do
+ get 'questions/new'
+ end
+
+ *Yves Senn*
+
* Remove support for parsing XML parameters from request. If you still want to parse XML
parameters, please install `actionpack-xml_parser' gem.