diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-06-17 11:48:02 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-06-17 11:48:02 +0300 |
commit | f8c41499c71db96674652177544a07de71704619 (patch) | |
tree | 2867e7cedef82fe93635e208e6c35f26da333f3d /app | |
parent | 49813243e0d1aff18548ffc014e751a937e0f974 (diff) | |
download | refinerycms-blog-f8c41499c71db96674652177544a07de71704619.tar.gz refinerycms-blog-f8c41499c71db96674652177544a07de71704619.tar.bz2 refinerycms-blog-f8c41499c71db96674652177544a07de71704619.zip |
Tiny code comment changes.
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb index dbb2af8..05cd2d6 100644 --- a/app/controllers/refinery/blog/posts_controller.rb +++ b/app/controllers/refinery/blog/posts_controller.rb @@ -9,10 +9,9 @@ module Refinery respond_to :html, :js, :rss def index - # Rss feeders are greedy. Let's give them every blog post instead of paginating. if request.format.rss? @posts = Post.live.includes(:comments, :categories) - #limit rss feed for services (like feedburner) who have max size + # limit rss feed for services (like feedburner) who have max size @posts = Post.recent(params["max_results"]) if params["max_results"].present? end respond_with (@posts) do |format| |