From d98732783b14869aca818d0c204bfb6e67b268d7 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Mon, 11 Nov 2013 16:04:59 +0000 Subject: Don't specify format in template name. In render calls, that's now deprecated in favour of using the :formats option. --- 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 e7bea67ef..00a3beebd 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -200,7 +200,7 @@ class ApiController < ApplicationController ]) end if feed_type == "atom" - render :template => "api/request_events.atom", :layout => false + render :template => "api/request_events", :formats => ['atom'], :layout => false elsif feed_type == "json" # For the JSON feed, we take a "since" parameter that allows the client # to restrict to events more recent than a certain other event -- cgit v1.2.3