@@ -149,7 +149,7 @@ component extends="app.Controllers.Controller" {
149149
150150 docs = getDocJSON (params .version );
151151 if (structIsEmpty (docs )) {
152- renderWith (statusCode = 404 , text = " Unknown version" );
152+ renderWith (status = 404 , text = " Unknown version" );
153153 return ;
154154 }
155155
@@ -178,14 +178,14 @@ component extends="app.Controllers.Controller" {
178178
179179 docs = getDocJSON (params .version );
180180 if (structIsEmpty (docs )) {
181- renderWith (statusCode = 404 , text = " Unknown version" );
181+ renderWith (status = 404 , text = " Unknown version" );
182182 return ;
183183 }
184184
185185 func = getFunctionFromDocs (docs , params .slug );
186186
187187 if (structIsEmpty (func )) {
188- renderWith (statusCode = 404 , text = " Function not found" );
188+ renderWith (status = 404 , text = " Function not found" );
189189 return ;
190190 }
191191
@@ -203,7 +203,7 @@ component extends="app.Controllers.Controller" {
203203
204204 docs = getDocJSON (params .version );
205205 if (structIsEmpty (docs )) {
206- renderWith (statusCode = 404 , text = " Version not found" );
206+ renderWith (status = 404 , text = " Version not found" );
207207 return ;
208208 }
209209
@@ -239,7 +239,7 @@ component extends="app.Controllers.Controller" {
239239
240240 docs = getDocJSON (params .version );
241241 if (structIsEmpty (docs )) {
242- renderWith (statusCode = 404 , text = " Version not found" );
242+ renderWith (status = 404 , text = " Version not found" );
243243 return ;
244244 }
245245
0 commit comments