Skip to content
Browse files

Do not check for CSRF for SOAP controller

  • Loading branch information...
1 parent 2d7d5cb commit b2904914be3e97ef937cb44dce5bab760f276595 Mark Kremer committed
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}"

0 comments on commit b290491

Please sign in to comment.
Something went wrong with that request. Please try again.