Fix Blog::find_by_name

This commit is contained in:
Bat
2018-06-18 18:44:18 +01:00
parent 84e4128795
commit 0dfc303c83
5 changed files with 78 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ macro_rules! may_fail {
let $res = res.unwrap();
$block
} else {
Template::render(concat!("errors/", stringify!($template)), json!({
Template::render(concat!("errors/", $template), json!({
"error_message": $msg
}))
}