Allow CloudMailin to skip CSRF verification

This commit is contained in:
Dan Rice 2014-09-08 01:31:28 -04:00
parent 70ba7a3a6b
commit 0cd8a1a3ee

View file

@ -2,6 +2,7 @@ class IntegrationsController < ApplicationController
require 'mail' require 'mail'
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin, :google_gadget] skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin, :google_gadget]
skip_before_filter :verify_authenticity_token, only: [:cloudmailin]
def index def index
@page_title = 'TRACKS::Integrations' @page_title = 'TRACKS::Integrations'