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

3 lines
365 B
Plaintext
Raw Normal View History

2014-06-12 10:27:26 +00:00
$("#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} %>");