Skip to content

Instantly share code, notes, and snippets.

@rikkimax
Created January 25, 2014 09:47
module cmsed.test.routes;
import cmsed.test.models.book;
import cmsed.base.registration.routes;
import cmsed.base.registration.onload;
public import cmsed.test.routes.test;
shared static this() {
registerRoute!Test();
void func(bool isInstall) {
Book3 book = new Book3;
book.key.isbn = "AS-DF-TF";
book.edition = 8;
book.save();
}
registerOnLoad(&func);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment