aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/refinery/blog')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb3
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|