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 | |
parent | 49813243e0d1aff18548ffc014e751a937e0f974 (diff) | |
download | refinerycms-blog-f8c41499c71db96674652177544a07de71704619.tar.gz refinerycms-blog-f8c41499c71db96674652177544a07de71704619.tar.bz2 refinerycms-blog-f8c41499c71db96674652177544a07de71704619.zip |
Tiny code comment changes.
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 3 | ||||
-rw-r--r-- | readme.md | 4 |
2 files changed, 3 insertions, 4 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| @@ -10,9 +10,9 @@ Options: * [ShareThis.com](http://sharethis.com) support on posts. To enable, set your key in Refinery's settings area. ## Additional Features -* to limit rss feed length, use the 'max_results' parameter +* To limit rss feed length, use the 'max_results' parameter - http://test.host/blog/feed/rss?max_results=10 + http://test.host/blog/feed.rss?max_results=10 ## Requirements |