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

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