spec/kern/assets/vm/controller10.rb in flok-0.0.79 vs spec/kern/assets/vm/controller10.rb in flok-0.0.80

- old
+ new

@@ -1,17 +1,10 @@ controller :my_controller do services :vm action :my_action do on_entry %{ - var entry = { - hello: "world" - } - - page = NewPage("array", "test"); - SetPageHead(page, "head"); - SetPageNext(page, "next"); - EntryInsert(page, 0, entry); + var page = vm_create_page("test"); var info = { ns: "spec", page: page };