1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Fix tests

This commit is contained in:
Yuki Nishijima 2018-03-06 12:41:22 -05:00
parent 7fc34fdc39
commit b8b6b98c3a

View file

@ -140,8 +140,8 @@ module Kaminari
prev_page = path_to_prev_page(scope, options) prev_page = path_to_prev_page(scope, options)
output = String.new output = String.new
output << "<link rel='next' href='#{next_page}'></link>" if next_page output << %Q|<link rel="next" href="#{next_page}"></link>| if next_page
output << "<link rel='prev' href='#{prev_page}'></link>" if prev_page output << %Q|<link rel="prev" href="#{prev_page}"></link>| if prev_page
output.html_safe output.html_safe
end end