Module: Enki::PostsHelper

Included in:
ApplicationController
Defined in:
app/helpers/enki/posts_helper.rb

Instance Method Summary collapse

Instance Method Details

#more_content?Boolean

This isn’t strictly correct, but it’s a pretty good guess and saves another hit to the DB

Returns:

  • (Boolean)


5
6
7
# File 'app/helpers/enki/posts_helper.rb', line 5

def more_content?
  @posts.size == Post::DEFAULT_LIMIT
end