Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing issue where defining a pattern for :action would create an opt…
…ional route parameter that wouldn't respect its pattern. Added the default action value only when a pattern isn't defined. Added tests to CakeRoute and Router to cover this case. Fixes #1197
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters