escaped string
This commit is contained in:
@@ -94,7 +94,7 @@ pub fn (mut ctx Context) request_error(msg string) veb.Result {
|
|||||||
|
|
||||||
pub fn (mut ctx Context) forbidden() veb.Result {
|
pub fn (mut ctx Context) forbidden() veb.Result {
|
||||||
ctx.res.set_status(.forbidden)
|
ctx.res.set_status(.forbidden)
|
||||||
return ctx.html(ctx.error_page(403, 'Forbidden', 'Oops! You aren't allowed around here.'))
|
return ctx.html(ctx.error_page(403, 'Forbidden', 'Oops! You aren\'t allowed around here.'))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut ctx Context) not_found() veb.Result {
|
pub fn (mut ctx Context) not_found() veb.Result {
|
||||||
|
|||||||
Reference in New Issue
Block a user