Skip to content

Commit

Permalink
add inline edit for rows
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Gugger committed Oct 18, 2024
1 parent 39f2ada commit cd509e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/create_or_edit_get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ async fn create_or_edit_get<E: ActixAdminViewModelTrait>(session: &Session, req:
};
let body = actix_admin.tera
.render(template_path, &ctx)
.map_err(|err| error::ErrorInternalServerError(format!("{:?}", err)))?;
.map_err(|err| error::ErrorInternalServerError(err))?;
Ok(http_response_code.content_type("text/html").body(body))
}

0 comments on commit cd509e6

Please sign in to comment.