diff --git a/examples/render/controllers/render.cfc b/examples/render/controllers/render.cfc index 3be91c7d..592e8660 100644 --- a/examples/render/controllers/render.cfc +++ b/examples/render/controllers/render.cfc @@ -19,8 +19,7 @@ component { } public void function jsonObject( struct rc ) { - // variables.fw.renderData( 'json', [ "An", "array", { "containing" = "data" } ] ); - variables.fw.renderData( 'json', [], 200 ); + variables.fw.renderData( 'json', [ "An", "array", { "containing" = "data" } ] ); } public void function jsonString( struct rc ) { diff --git a/examples/todos/assets/todo.json b/examples/todos/assets/todo.json index 91f9abb3..4f9f9022 100644 --- a/examples/todos/assets/todo.json +++ b/examples/todos/assets/todo.json @@ -1 +1 @@ -{"6":{"status":"Complete","title":"Feed the cat"},"2":{"status":"Pending","title":"Clean the toilet"},"8":{"status":"Pending","title":"Vote in the elections"},"9":{"status":"Pending","title":"Go to Pride!"}} \ No newline at end of file +{"6":{"status":"Complete","title":"Feed the cat"},"2":{"status":"Pending","title":"Clean the toilet"},"8":{"status":"Pending","title":"Vote in the elections"},"9":{"status":"New","title":"Test the new todos app"}}