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:
Nicholas Seckar
2007-09-21 04:52:18 +00:00
parent 4156497602
commit 16529a92dd
2 changed files with 7 additions and 1 deletions

View File

@@ -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: