Merge branch 'master' into setup-script

This commit is contained in:
Bat
2018-06-19 22:26:31 +01:00
10 changed files with 109 additions and 91 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ pub struct NewPost {
impl Post {
insert!(posts, NewPost);
get!(posts);
find_by!(posts, find_by_slug, slug as String);
find_by!(posts, find_by_slug, slug as String, blog_id as i32);
find_by!(posts, find_by_ap_url, ap_url as String);
pub fn count_local(conn: &PgConnection) -> usize {