Disable CSRF token verification in WebRequestsController.

This should suppress the "Can't verify CSRF token authenticity" warning.

Akinori MUSHA %!s(int64=10) %!d(string=hace) años
padre
commit
d741802002
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/controllers/web_requests_controller.rb

+ 1 - 0
app/controllers/web_requests_controller.rb

@@ -17,6 +17,7 @@
17 17
 
18 18
 class WebRequestsController < ApplicationController
19 19
   skip_before_filter :authenticate_user!
20
+  skip_before_action :verify_authenticity_token
20 21
 
21 22
   def handle_request
22 23
     user = User.find_by_id(params[:user_id])