Module: Enki::PostsHelper
- Included in:
- ApplicationController
- Defined in:
- app/helpers/enki/posts_helper.rb
Instance Method Summary collapse
-
#more_content? ⇒ Boolean
This isn’t strictly correct, but it’s a pretty good guess and saves another hit to the DB.
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
5 6 7 |
# File 'app/helpers/enki/posts_helper.rb', line 5 def more_content? @posts.size == Post::DEFAULT_LIMIT end |