diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-07-04 11:39:27 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-07-04 11:39:27 +0100 |
commit | f03d71e493085c49e9c0a79c8608becd0b526c00 (patch) | |
tree | 968a30a5a12885b08c5dc5935f0848e16b102b76 /app/controllers/api_controller.rb | |
parent | b3f46a4232e244e19c9dc1345c37322ea4a091da (diff) |
Atom feed approximately working (?)
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |