From b504f87e3c2dd23cecf2bff8cd2e5bd0243646b1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 9 May 2015 16:19:29 -0700 Subject: [PATCH] fix path of posts added to git --- server/harp_blog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/harp_blog.rb b/server/harp_blog.rb index 5beb623..6085a7d 100644 --- a/server/harp_blog.rb +++ b/server/harp_blog.rb @@ -253,7 +253,7 @@ class HarpBlog post_dir = post_path(post_dir) delete_post_body(post_dir, id) delete_post_index(post_dir, id) - git_commit('delete', id, post_path(post_dir)) + git_commit('delete', id, post_dir) @mutated = true end