aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorCharles de Bueger <chabekah@gmail.com>2012-07-01 23:18:20 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-07-02 20:29:37 +0300
commitbb5a9adb50e8330f8b3af2ccfd5029243573e0a4 (patch)
tree8c5c4f9d89a180245f3d796c86a864f9f54e4cc4 /app/controllers
parent50a7ce22edb7ebccfcd99bb2afc6af526550d184 (diff)
downloadrefinerycms-blog-bb5a9adb50e8330f8b3af2ccfd5029243573e0a4.tar.gz
refinerycms-blog-bb5a9adb50e8330f8b3af2ccfd5029243573e0a4.tar.bz2
refinerycms-blog-bb5a9adb50e8330f8b3af2ccfd5029243573e0a4.zip
Prevents rails from looking for a layout for the rss feed.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb
index bd579c4..a236267 100644
--- a/app/controllers/refinery/blog/posts_controller.rb
+++ b/app/controllers/refinery/blog/posts_controller.rb
@@ -15,7 +15,7 @@ module Refinery
(@posts = Post.live.includes(:comments, :categories).with_globalize) if request.format.rss?
respond_with (@posts) do |format|
format.html
- format.rss
+ format.rss { render :layout => false }
end
end