Use view_name correctly

This commit is contained in:
Bob Farrell 2024-04-02 22:39:52 +01:00
parent f1ec5b216d
commit cd4932ff79

View File

@ -186,7 +186,7 @@ fn writeRoute(self: *Self, writer: std.ArrayList(u8).Writer, route: Function) !v
const output = try std.fmt.allocPrint(self.allocator, output_template, .{
full_name,
route.name,
route.view_name,
view_name,
if (route.static) "static" else "dynamic",
if (route.static) "true" else "false",
uri_path,