Skip to content

Commit 4d69ef1

Browse files
committed
- Fixed resource handler creation.
1 parent 3a4f290 commit 4d69ef1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121

2222
- Updated to the latest Ubuntu images for the GitHub actions
2323

24+
### Fixed
25+
26+
- Fixed resource handler creation.
27+
2428
## [7.5.0] - 2024-10-16
2529

2630
### Fixed

commands/coldbox/create/resource.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ component extends="coldbox-cli.models.BaseCommand" {
324324
// Add Resource routes
325325
var routerContent = fileRead( routerPath ).replaceNoCase(
326326
"// @app_routes@",
327-
routerCode & variables.break
327+
routerCode & chr( 13 )
328328
);
329329
fileWrite( routerPath, routerContent );
330330
openPath( routerPath );

0 commit comments

Comments
 (0)