mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-07-01 13:36:08 +00:00
Use view_name correctly
This commit is contained in:
parent
f1ec5b216d
commit
cd4932ff79
@ -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, .{
|
const output = try std.fmt.allocPrint(self.allocator, output_template, .{
|
||||||
full_name,
|
full_name,
|
||||||
route.name,
|
route.name,
|
||||||
route.view_name,
|
view_name,
|
||||||
if (route.static) "static" else "dynamic",
|
if (route.static) "static" else "dynamic",
|
||||||
if (route.static) "true" else "false",
|
if (route.static) "true" else "false",
|
||||||
uri_path,
|
uri_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user