notices_controller.rb 230 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 class NoticesController < ApplicationController respond_to :xml skip_before_filter :authenticate_user!, :only => :create def create @notice = Notice.from_xml(request.raw_post) respond_with @notice end end