From d1e29220da67ef4f8ac67553141b2240c2fd3dbe Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Tue, 1 Mar 2016 15:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9wechat=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/wechats/login.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wechats/login.html.erb b/app/views/wechats/login.html.erb index 32b70d1e2..284f19558 100644 --- a/app/views/wechats/login.html.erb +++ b/app/views/wechats/login.html.erb @@ -13,7 +13,7 @@ $("#submitForm").click(function(){ $.ajax({ type: "POST", - url: $(this).parent("form").attr("action") + "?&authenticity_token=" + <%=form_authenticity_token%>, + url: $(this).parent("form").attr("action") + "?&authenticity_token=" + "<%=form_authenticity_token%>", data:$(this).parent("form").serialize(), dataType: "json" });