the journey of fixes has finally an end
This commit is contained in:
parent
a764632538
commit
bdff6f4110
|
@ -1,5 +1,5 @@
|
||||||
$('#questions').append('<% @questions.each do |a|
|
$('#questions').append('<% @questions.each do |q|
|
||||||
%><%= j render 'shared/question', a: a
|
%><%= j render 'shared/question', q: q
|
||||||
%><% end %>');
|
%><% end %>');
|
||||||
<% if @questions.next_page %>
|
<% if @questions.next_page %>
|
||||||
$('#pagination').html('<%= j will_paginate @questions, renderer: BootstrapPagination::Rails, page_links: false %>');
|
$('#pagination').html('<%= j will_paginate @questions, renderer: BootstrapPagination::Rails, page_links: false %>');
|
||||||
|
|
Loading…
Reference in New Issue