Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not check for CSRF for SOAP controller

  • Loading branch information...
commit b2904914be3e97ef937cb44dce5bab760f276595 1 parent 2d7d5cb
Mark Kremer authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  app/controllers/echo_service_controller.rb
View
2  app/controllers/echo_service_controller.rb
@@ -5,6 +5,8 @@ class EchoServiceController < ApplicationController
Mime::Type.unregister :xml
Mime::Type.register "text/xml", :xml
+ skip_before_filter :verify_authenticity_token
+
# Service the WSDL
def wsdl
@url = ENV['BASE_URL'] || "http://localhost:#{request.port}"
Please sign in to comment.
Something went wrong with that request. Please try again.