1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/journey
Andrew White 86cf7a2d16 Use custom visitor class for optimized url helpers
Rather than trying to use gsub to remove the optional route segments,
which will fail with nested optional segments, use a custom visitor
class that returns a empty string for group nodes.

Closes #9524
2013-03-03 19:18:01 +00:00
..
gtg update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
nfa Fix indentation issuing warning 2012-12-20 20:19:36 -02:00
nodes update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
path Make ActionDispatch::Journey::Path::Pattern#new raise more meaningful exception message. 2013-02-27 08:26:51 +08:00
router update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
visualizer
backwards.rb :nodoc: Journey because is not part of the public API [ci skip] 2012-12-19 19:24:25 -05:00
formatter.rb Raise correct exception now Journey is integrated. 2013-01-15 17:21:33 +00:00
parser.rb :nodoc: Journey because is not part of the public API [ci skip] 2012-12-19 19:24:25 -05:00
parser.y
parser_extras.rb update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
route.rb Use custom visitor class for optimized url helpers 2013-03-03 19:18:01 +00:00
router.rb Add support for other types of routing constraints 2013-01-15 17:21:33 +00:00
routes.rb access @path and @routes via reader methods in journey 2013-01-07 17:37:02 +03:00
scanner.rb update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
visitors.rb Use custom visitor class for optimized url helpers 2013-03-03 19:18:01 +00:00