Skip to content

Commit 4685d0f

Browse files
committed
Merge branch 'development'
2 parents 10f5a65 + 4d69ef1 commit 4685d0f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
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 );

models/BaseCommand.cfc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
component accessors="true" {
55

66
// DI
7-
property name="utility" inject="utility@coldbox-cli";
8-
property name="settings" inject="box:modulesettings:coldbox-cli";
9-
property name="config" inject="box:moduleconfig:coldbox-cli";
7+
property name="utility" inject="utility@coldbox-cli";
8+
property name="settings" inject="box:modulesettings:coldbox-cli";
9+
property name="config" inject="box:moduleconfig:coldbox-cli";
1010
property name="serverService" inject="serverService";
1111
property name="packageService" inject="PackageService";
1212

0 commit comments

Comments
 (0)