0
Как решить проблему с каминари с haml? Я использую haml haml (3.1.4)
и kaminari 0.13. мой индексный файл выглядит так:kaminari (0,13) и haml (3.1.4)
%h1 Listing customers
=paginate(@customers)
%table.index-list
%tr
%th Name
.....
but i m getting an error
undefined local variable or method `prev_span_tag'
for #<Kaminari::Helpers::Paginator:0xa848978>
Extracted source (around line #10):
7: paginator: the paginator that renders the pagination tags inside
8: -%>
9: <%= paginator.render do -%>
10: <nav class='pagination'>
11: <%= current_page > 1 ? prev_link_tag : prev_span_tag %>
12: <% each_page do |page| -%>
13: <% if page.current? -%>
Спасибо.