diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index ad9195804..280d378f3 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -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){ },