@@ -26,6 +26,7 @@ component extends="coldbox-cli.models.BaseCommand" {
2626 boolean tests = true ,
2727 testsDirectory = " tests/specs/integration"
2828 ){
29+
2930 // This will make each directory canonical and absolute
3031 arguments .handlersDirectory = resolvePath ( arguments .handlersDirectory );
3132 arguments .viewsDirectory = resolvePath ( arguments .viewsDirectory );
@@ -71,7 +72,7 @@ component extends="coldbox-cli.models.BaseCommand" {
7172 // ********************** generate handler ************************************//
7273
7374 // Read Handler Content
74- var hContent = fileRead ( " #variables .settings .templatePath #/crud/HandlerContent.txt" );
75+ var hContent = fileRead ( " #variables .settings .templatesPath #/crud/HandlerContent.txt" );
7576 // Token replacement
7677 hContent = replaceNoCase (
7778 hContent ,
@@ -108,7 +109,7 @@ component extends="coldbox-cli.models.BaseCommand" {
108109 );
109110 var views = [ " edit" , " editor" , " new" ];
110111 for ( var this View in views ) {
111- var vContent = fileRead ( " #variables .settings .templatePath #/crud/#this View #.txt" );
112+ var vContent = fileRead ( " #variables .settings .templatesPath #/crud/#this View #.txt" );
112113 vContent = replaceNoCase (
113114 vContent ,
114115 " |entity|" ,
@@ -132,7 +133,7 @@ component extends="coldbox-cli.models.BaseCommand" {
132133
133134 // Build table output for index
134135 savecontent variable = " local.tableData" {
135- include " #variables .settings .templatePath #/crud/table.cfm" ;
136+ include " #variables .settings .templatesPath #/crud/table.cfm" ;
136137 }
137138 tableData = replaceNoCase (
138139 tableData ,
@@ -147,7 +148,7 @@ component extends="coldbox-cli.models.BaseCommand" {
147148 " all"
148149 );
149150 // index data
150- var vContent = fileRead ( " #variables .settings .templatePath #/crud/index.txt" );
151+ var vContent = fileRead ( " #variables .settings .templatesPath #/crud/index.txt" );
151152 vContent = replaceNoCase (
152153 vContent ,
153154 " |entity|" ,
0 commit comments