aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2013-06-17 11:48:02 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2013-06-17 11:48:02 +0300
commitf8c41499c71db96674652177544a07de71704619 (patch)
tree2867e7cedef82fe93635e208e6c35f26da333f3d
parent49813243e0d1aff18548ffc014e751a937e0f974 (diff)
downloadrefinerycms-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.rb3
-rw-r--r--readme.md4
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|
diff --git a/readme.md b/readme.md
index 2fda6df..be1a67f 100644
--- a/readme.md
+++ b/readme.md
@@ -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