hurrying
This commit is contained in:
parent
889179bef4
commit
2a73647983
7
ticket.v
7
ticket.v
@ -1,6 +1,11 @@
|
|||||||
|
import vweb
|
||||||
|
|
||||||
pub fn render_ticket(qr string) {
|
pub fn render_ticket(qr string) {
|
||||||
slug := qr.all_after_last('_')
|
slug := qr.all_after_last('_')
|
||||||
$tmpl('./ticket.html')
|
$tmpl('./ticket.html')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn (mut app App) index() vweb.Result {
|
||||||
|
qrs :=
|
||||||
|
return $vweb.html()
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user