nerak repo
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{< layout}}
|
||||
{{$body}}
|
||||
<p>home</p>
|
||||
{{/body}}
|
||||
{{/layout}};
|
||||
@@ -0,0 +1,13 @@
|
||||
#include <nerak.h>
|
||||
#include <session_auth.h>
|
||||
|
||||
config(landing){
|
||||
middleware(session());
|
||||
|
||||
resource("home", "/",
|
||||
.get = {
|
||||
mustache("home", "home_s"),
|
||||
respond("home_s")
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user