Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(routing): allow to prefix a group without a starting slash (#416)
* test(routing): test that prefix works without start slash * fix(routing): allow to prefix a group without a starting slash We should be able to prefix route's group without writing the first slash. Example: ```javascript Route.group('v1', function () { // Some routes... }).prefix('api/v1') // before it should be .prefix('/api/v1') ``` Closes: #415
- Loading branch information
1 parent
58b22e9
commit 391b149
Showing
2 changed files
with
10 additions
and
0 deletions.
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