Function freedit::controller::inn::edit_post
source · pub(crate) async fn edit_post(
cookie: Option<TypedHeader<Cookie>>,
__arg1: Path<u32>,
__arg2: Query<ParamsPostCreate>
) -> Result<impl IntoResponse, AppError>
Expand description
GET /post/edit/:pid
post create/edit page
if pid is 0, then create a new post