diff options
author | Charles de Bueger <chabekah@gmail.com> | 2012-07-01 23:18:20 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-07-02 20:29:37 +0300 |
commit | bb5a9adb50e8330f8b3af2ccfd5029243573e0a4 (patch) | |
tree | 8c5c4f9d89a180245f3d796c86a864f9f54e4cc4 /app | |
parent | 50a7ce22edb7ebccfcd99bb2afc6af526550d184 (diff) | |
download | refinerycms-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')
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 2 |
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 |