class Tumblargh::Renderer::Blocks::Photoset

Public Instance Methods

should_render?() click to toggle source
# File lib/tumblargh/renderer/blocks/photoset.rb, line 6
def should_render?
  context_post.type == 'photoset' && context_post.photos.size > 1
end