This commit is contained in:
Sami Samhuri 2016-04-11 18:17:07 -07:00
parent fe4c427273
commit 5920e6fbb3

View file

@ -115,7 +115,7 @@ class HarpBlog
else
save_post(post)
if options[:commit]
git_commit("create post '#{post.title}'", [year_index_path(post.year), post_path(post.dir)])
git_commit("create post '#{post.title}'", [year_index_path("#{post.time.year}"), post_path(post.dir)])
end
post
end