lib/mobile_pagination/templates.rb in mobile_pagination-0.0.2 vs lib/mobile_pagination/templates.rb in mobile_pagination-0.0.3
- old
+ new
@@ -26,13 +26,13 @@
end
def html
return '' unless should_paginate?
''.tap do |markup|
- markup << first_page_html if previous_page?
+ markup << first_page_html if first_page?
markup << previous_page_html if previous_page?
markup << next_page_html if next_page?
- markup << last_page_html if next_page?
+ markup << last_page_html if last_page?
end
end
end
end
\ No newline at end of file