Skip to content

Commit

Permalink
Merge b1eb341 into c1587fb
Browse files Browse the repository at this point in the history
  • Loading branch information
rodzhers committed Jul 24, 2014
2 parents c1587fb + b1eb341 commit 2bc460f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/pagoda/jekyll_mod.rb
Expand Up @@ -23,7 +23,7 @@ def read_drafts(dir = '')
if Post.valid?(f)
post = Post.new(self, self.source, dir, f)

if (not post.published )
if (not post.published? )
drafts << post
end
end
Expand All @@ -33,4 +33,8 @@ def read_drafts(dir = '')
end

end

class Post
alias_method :published?, :published unless defined?(:published?)
end
end

0 comments on commit 2bc460f

Please sign in to comment.