Skip to content

Commit

Permalink
model typos..
Browse files Browse the repository at this point in the history
  • Loading branch information
stammy committed Oct 9, 2011
1 parent bc1ab1f commit 452b827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jekyll/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ def read_photos(dir)

# first pass processes, but does not yet render post content
entries.each do |f|
if photo.valid?(f)
photo = photo.new(self, self.source, dir, f)
if Photo.valid?(f)
photo = Photo.new(self, self.source, dir, f)

if photo.published && (self.future || photo.date <= self.time)
self.photos << photo
Expand Down

0 comments on commit 452b827

Please sign in to comment.