Skip to content

Commit 8ff6fbc

Browse files
bpamiriclaude
andauthored
fix(cli): generated app config points at 4.0 docs, not 3.1.0 (#2509)
Three config templates (settings.cfm, environment.cfm, routes.cfm) had doc-comment URLs pointing at `https://wheels.dev/3.1.0/guides/...`. The URLs are 3.x-era and the path structure is the legacy guide layout. Users newly running `wheels new myApp` saw the 3.1.0 reference in their generated config and concluded the CLI was scaffolding a Wheels 3.x app (it isn't — `vendor/wheels/` and the directory layout are 4.0). #2471 filed against this confusion. Update all three URLs to the current 4.0-SNAPSHOT guide host (`guides.wheels.dev/v4-0-0-snapshot/...`) so the comments match what the framework actually is. Resolves #2471. Co-authored-by: Claude <noreply@anthropic.com>
1 parent a49226a commit 8ff6fbc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎cli/lucli/templates/app/config/environment.cfm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use this file to set the current environment for your application.
33
// You can set it to "development", "testing", "maintenance" or "production".
44
// Don't forget to issue a reload request (e.g. reload=true) after making changes.
5-
// See https://wheels.dev/3.1.0/guides/working-with-wheels/switching-environments for more info.
5+
// See https://guides.wheels.dev/v4-0-0-snapshot/working-with-wheels/switching-environments for more info.
66
77
// Below, we have set it to "development" for you since that is convenient when you are building your application.
88
// We recommend that you change this to "production" when you're running your application live.

‎cli/lucli/templates/app/config/routes.cfm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
// Use this file to add routes to your application and point the root route to a controller action.
44
// Don't forget to issue a reload request (e.g. reload=true) after making changes.
5-
// See https://wheels.dev/3.1.0/guides/handling-requests-with-controllers/routing for more info.
5+
// See https://guides.wheels.dev/v4-0-0-snapshot/handling-requests-with-controllers/routing for more info.
66
77
mapper()
88
// CLI-Appends-Here

‎cli/lucli/templates/app/config/settings.cfm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Use this file to configure your application.
44
You can also use the environment specific files (e.g. /config/production/settings.cfm) to override settings set here.
55
Don't forget to issue a reload request (e.g. reload=true) after making changes.
6-
See https://wheels.dev/3.1.0/guides/working-with-wheels/configuration-and-defaults for more info.
6+
See https://guides.wheels.dev/v4-0-0-snapshot/working-with-wheels/configuration-and-defaults for more info.
77
*/
88
99
/*

0 commit comments

Comments
 (0)