From f03d71e493085c49e9c0a79c8608becd0b526c00 Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Wed, 4 Jul 2012 11:39:27 +0100 Subject: Atom feed approximately working (?) --- app/controllers/api_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api_controller.rb') diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index b34386377..a8c9b5fef 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -161,7 +161,7 @@ class ApiController < ApplicationController @requests = @public_body.info_requests if feed_type == "atom" - render :template => "api/new_requests.atom" + render :template => "api/new_requests.atom", :layout => false elsif feed_type == "json" render :json => @requests else -- cgit v1.2.3