aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-07-22 07:29:59 -0700
committerJoe Sak <joe@joesak.com>2011-07-22 07:29:59 -0700
commite5db679226bac7ef8ddd568c40f52addd52d7a8a (patch)
tree56c851da6ae947e67d7052c2e949abe0a6ccba1b /config
parent5d493b154c97de5ba4558ced644ecf0f666df1f5 (diff)
parent216959f3b4b5fea363bc66eb4f5e7d7b77976328 (diff)
downloadrefinerycms-blog-e5db679226bac7ef8ddd568c40f52addd52d7a8a.tar.gz
refinerycms-blog-e5db679226bac7ef8ddd568c40f52addd52d7a8a.tar.bz2
refinerycms-blog-e5db679226bac7ef8ddd568c40f52addd52d7a8a.zip
Merge pull request #103 from jackkinsella/master
Rss feed now shows all posts instead of a small number limited by pagination
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1793edb..e26fe64 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,7 +1,7 @@
::Refinery::Application.routes.draw do
scope(:path => 'blog', :module => 'blog') do
root :to => 'posts#index', :as => 'blog_root'
- match 'feed.rss', :to => 'posts#index.rss', :as => 'blog_rss_feed'
+ match 'feed.rss', :to => 'posts#index', :as => 'blog_rss_feed', :defaults => {:format => "rss"}
match ':id', :to => 'posts#show', :as => 'blog_post'
match 'categories/:id', :to => 'categories#show', :as => 'blog_category'
match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments'