Skip to content

Commit

Permalink
Fix cache_key_for_blog_posts
Browse files Browse the repository at this point in the history
  • Loading branch information
wioux committed Oct 19, 2017
1 parent 340619d commit eb86f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/blog_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def rebase_blog_post(doc)
end

def cache_key_for_blog_posts(blog_posts)
[BlogPost.all.cache_key, @blog_posts.current_page, params[:tag]]
[BlogPost.all.cache_key, blog_posts.current_page, params[:tag]]
end
end

0 comments on commit eb86f4b

Please sign in to comment.