aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/routing/segments.rb
Commit message (Collapse)AuthorAgeFilesLines
* Generating routes with optional format segment does not inherit params ↵Joshua Peek2009-03-041-1/+5
| | | | format [#2043 state:resolved]
* Allow routes with a trailing slash to be recognizedMike Gunderloy2009-03-041-1/+1
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2039 state:committed]
* Ruby 1.9 compat: silence a warning about regexp languagesSam Granieri2009-02-251-1/+5
| | | | | | [#2050 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix requirements regexp for path segmentsAndrew White2009-02-221-16/+12
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed]
* Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵Andrew White2009-02-221-4/+0
| | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed]
* Added optimal formatted routes to rails, deprecating the formatted_* ↵Aaron Batalion2008-11-261-0/+31
| | | | | | methods, and reducing routes creation by 50% [#1359 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Eliminate excess Regexp creation due to capture countingJeremy Kemper2008-11-101-3/+25
|
* Some performance goodness for routing.Clemens Kofler2008-09-031-3/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need ↵Jeremy Kemper2008-08-041-1/+2
| | | | escaping
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-281-12/+17
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-281-2/+3
|
* Ensure we have an array to collectJeremy Kemper2008-06-061-1/+1
|
* Ensure routing generator works with non-string keys. [#172 state:resolved]Sven Fuchs2008-05-161-1/+1
| | | | | | | | | | Make sure that (with recent correction to globbed parameter escaping) non-string values can still be passed route generation helpers for globbed route segments. For example, foo_path([1, 2, 3]) should still work for a route like map.foo "*globbed" by implicitely calling to_s on the Fixnums. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Escape globbed parameters in routes correctly.Chris Roos2008-05-101-4/+5
| | | | | | :controller => 'glob', :action=> 'show', :additional => ['foo/bar', 'baz'] Should generate /glob/show/foo%2Fbar/baz not /glob/show/foo/bar/baz
* Added support for regexp flags like ignoring case in the :requirements part ↵David Heinemeier Hansson2008-03-281-2/+16
| | | | | | of routes declarations (closes #11421) [NeilW] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restructure routing into several smaller files. References #10835 [oleganza]Michael Koziarski2008-01-171-0/+268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de