aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Move mapper_test to the appropriate locationPrem Sichanugrist2011-03-291-88/+0
| | | | | | It seems like in 89c5b9aee7d7db95cec9e5a934c3761872ab107e Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-1/+31
| | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Do not show optional (.:format) block for wildcard route [#6605 state:resolved]Prem Sichanugrist2011-03-221-0/+7
| | | | This will make the output of `rake routes` to be correctly match to the behavior of the application, as the regular expression used to match the path is greedy and won't capture the format part by default
* do not automatically add format to routes that end in a slashAaron Patterson2011-03-111-0/+51