mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
Don't warn when a path segment precedes a required segment. Closes #9615.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Don't warn when a path segment precedes a required segment. Closes #9615. [Nicholas Seckar]
|
||||
|
||||
* Fixed CaptureHelper#content_for to work with the optional content parameter instead of just the block #9434 [sandofsky/wildchild].
|
||||
|
||||
* Added Mime::Type.register_alias for dealing with different formats using the same mime type [DHH]. Example:
|
||||
|
||||
@@ -819,12 +819,16 @@ module ActionController
|
||||
regexp || "(.*)"
|
||||
end
|
||||
|
||||
def optionality_implied?
|
||||
true
|
||||
end
|
||||
|
||||
class Result < ::Array #:nodoc:
|
||||
def to_s() join '/' end
|
||||
def self.new_escaped(strings)
|
||||
new strings.collect {|str| URI.unescape str}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class RouteBuilder #:nodoc:
|
||||
|
||||
Reference in New Issue
Block a user