class Playbook::Pagination::Rails
def page_number(page)
def page_number(page) if page == current_page tag("li", tag("span", page), class: "active") else tag("li", link(page, page, rel: rel_value(page))) end end
def page_number(page) if page == current_page tag("li", tag("span", page), class: "active") else tag("li", link(page, page, rel: rel_value(page))) end end