public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/ddollar/rails.git
...

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4458 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Nicholas Seckar (author)
Sun Jun 18 14:42:56 -0700 2006
commit  5b8b77e07e505ea380dffe660b7c6193818acab0
tree    e98cf0668aeba8c83d2f1b784e4d80b18d9f6a12
parent  4e2dcbfb150d8eda0c379946c1c0dbb5b7af714d
...
226
227
228
229
 
230
231
232
...
226
227
228
 
229
230
231
232
0
@@ -226,7 +226,7 @@ module ActionController
0
           mod_name = controller_name = segment = nil
0
           
0
           while index < length
0
- return nil unless /^[A-Za-z][A-Za-z\d_]*$/ =~ (segment = segments[index])
0
+ return nil unless /\A[A-Za-z][A-Za-z\d_]*\Z/ =~ (segment = segments[index])
0
             index += 1
0
             
0
             mod_name = segment.camelize

Comments

    No one has commented yet.