Skip to content

Commit

Permalink
Adding a test route for templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
rikkimax committed Apr 9, 2014
1 parent ce695b8 commit 346e684
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/test/cmsed/test/routes/test.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 10,11 @@ class Test : OORoute {
http_response.writeBody("");
}

@RouteFunction(RouteType.Get, "/myindex", "index")
bool myindex() {
return true;
}

@RouteGroup(null, "/.svc") {
mixin RestfulRoute!(RestfulProtection.All, Book3, Page3);
}
Expand Down

0 comments on commit 346e684

Please sign in to comment.