MaCH repo
This commit is contained in:
15
06_todo_events/main.c
Normal file
15
06_todo_events/main.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <mach.h>
|
||||
#include <session_auth.h>
|
||||
#include "todos/todos.c"
|
||||
#include "activity/activity.c"
|
||||
|
||||
mach(main){
|
||||
middleware(session());
|
||||
|
||||
resource("home", "/",
|
||||
.get = {
|
||||
mustache("home", "home_s"),
|
||||
respond("home_s")
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user