Run cargo fmt
This commit is contained in:
+10
-4
@@ -91,9 +91,11 @@ pub fn create(
|
||||
});
|
||||
|
||||
Flash::success(
|
||||
Redirect::to(
|
||||
uri!(super::posts::details: blog = blog_name, slug = slug, responding_to = _),
|
||||
),
|
||||
Redirect::to(uri!(
|
||||
super::posts::details: blog = blog_name,
|
||||
slug = slug,
|
||||
responding_to = _
|
||||
)),
|
||||
i18n!(&rockets.intl.catalog, "Your comment has been posted."),
|
||||
)
|
||||
})
|
||||
@@ -168,7 +170,11 @@ pub fn delete(
|
||||
}
|
||||
}
|
||||
Ok(Flash::success(
|
||||
Redirect::to(uri!(super::posts::details: blog = blog, slug = slug, responding_to = _)),
|
||||
Redirect::to(uri!(
|
||||
super::posts::details: blog = blog,
|
||||
slug = slug,
|
||||
responding_to = _
|
||||
)),
|
||||
i18n!(&rockets.intl.catalog, "Your comment has been deleted."),
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user