From b6b44d59962f8d38235692bc2a81dc268c4ca330 Mon Sep 17 00:00:00 2001 From: Julio Monteiro Date: Wed, 22 Aug 2012 15:16:19 -0300 Subject: [PATCH] Should only return XML. Note that we also have NoticesController#locate inside this controller, but it should simply redirect. --- app/controllers/notices_controller.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/controllers/notices_controller.rb b/app/controllers/notices_controller.rb index 39d77c1..cf28a3c 100644 --- a/app/controllers/notices_controller.rb +++ b/app/controllers/notices_controller.rb @@ -1,4 +1,6 @@ class NoticesController < ApplicationController + respond_to :xml + skip_before_filter :authenticate_user!, :only => :create def create -- libgit2 0.21.2