论坛上传资源没有保存成功

This commit is contained in:
lizanle 2015-12-11 17:54:07 +08:00
parent b178fb7f0a
commit df1d1a4685
1 changed files with 1 additions and 4 deletions

View File

@ -115,10 +115,7 @@
$.ajax({ $.ajax({
url:'/forums/'+'<%= @forum.id.to_s%>'+'/memos', url:'/forums/'+'<%= @forum.id.to_s%>'+'/memos',
type:'post', type:'post',
data:{ data:$("#new_memo").serialize(),
'memo[content]':$("#memo_content").val(),
'memo[subject]':$("#memo_subject").val()
},
success:function(data){ success:function(data){
}, },