lib/octopress/draft.rb in octopress-3.0.0.alpha3 vs lib/octopress/draft.rb in octopress-3.0.0.alpha4
- old
+ new
@@ -16,10 +16,10 @@
@options['type'] = 'draft'
end
def path
name = "#{title_slug}.#{extension}"
- File.join(@config['source'], '_drafts', name)
+ File.join(source, '_drafts', name)
end
def read
if @draft_content
@draft_content