personal-journal1/app/views/admin/journal_papers/index.js.erb

3 lines
365 B
Plaintext

$("#sort_headers").html("<%= j render 'sort_headers' %>");
$("#tbody_writing_journals").html("<%= j render :partial => 'writing_journal', :collection => @writing_journals %>");
$("#writing_journal_pagination").html("<%= j paginate @writing_journals, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil} %>");