aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/routes.rb
Commit message (Collapse)AuthorAgeFilesLines
* extract required_defaults from the conditions hash before constructing the routeAaron Patterson2015-06-081-2/+2
| | | | | this way we can remove the strange "respond_to?" conditional in the `matches?` loop
* ActionDispatch::Journey::Routes#empty? test casesValentine Valyaeff2015-05-191-1/+1
|
* Added ActionDispatch::Journey::Routes#empty?juggernaut-2015-05-181-0/+4
|
* Partition routes during setup.Guo Xiang Tan2015-02-261-7/+12
| | | | | | | Partitioning of all the routes is currently being done during the first request. Since there is no need to clear the cache for `partitioned_routes` when adding a new route. We can move the partitioning of the routes during setup time.
* Clear named routes when routes.rb is reloadedAndrew White2013-07-211-0/+1
| | | | | | | | Fix an issue where Journey was failing to clear the named routes hash when the routes were reloaded and since it doesn't overwrite existing routes then if a route changed but wasn't renamed it kept the old definition. This was being masked by the optimised url helpers so it only became apparent when passing an options hash to the url helper.
* access `@path` and `@routes` via reader methods in journeyGosha Arinich2013-01-071-2/+2
|
* refactor Journey::RoutesGosha Arinich2013-01-071-12/+11
| | | | | * prefer do-end for multiline blocks * prefer or-equals over returns with checks
* update AD::Journey to follow Rails coding conventionsFrancesco Rodriguez2012-12-201-8/+8
|
* :nodoc: Journey because is not part of the public API [ci skip]Francesco Rodriguez2012-12-191-5/+4
|
* Integrate Journey into Action DispatchAndrew White2012-12-191-0/+77
Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.