the journey of fixes has finally an end

This commit is contained in:
Andreas N 2014-12-19 23:05:45 +01:00
parent a764632538
commit bdff6f4110
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
$('#questions').append('<% @questions.each do |a|
%><%= j render 'shared/question', a: a
$('#questions').append('<% @questions.each do |q|
%><%= j render 'shared/question', q: q
%><% end %>');
<% if @questions.next_page %>
$('#pagination').html('<%= j will_paginate @questions, renderer: BootstrapPagination::Rails, page_links: false %>');