Sha256: 6b0ba75a0a1456c5c8c9fd7f68f7281697d9c2a733477495870f8893fba3bc11

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

module Enki
  module PostsHelper
    # This isn't strictly correct, but it's a pretty good guess
    # and saves another hit to the DB
    def more_content?
      @posts.size == Post::DEFAULT_LIMIT
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/helpers/enki/posts_helper.rb
enki-engine-0.0.4 app/helpers/enki/posts_helper.rb
enki-engine-0.0.3 app/helpers/enki/posts_helper.rb
enki-engine-0.0.2 app/helpers/enki/posts_helper.rb