Comment custom route - use as example only

This commit is contained in:
Bob Farrell 2024-06-09 11:18:14 +01:00
parent 3882eba2f3
commit 179b5e77c3

View File

@ -177,8 +177,9 @@ pub const jetzig_options = struct {
};
pub fn init(app: *jetzig.App) !void {
_ = app;
// Example custom route:
app.route(.GET, "/custom/:id/foo/bar", @import("app/views/custom/foo.zig"), .bar);
// app.route(.GET, "/custom/:id/foo/bar", @import("app/views/custom/foo.zig"), .bar);
}
pub fn main() !void {