[openstreetmap-website] Fix off-by-one error in user notes list (#790)
Toby Murray
notifications at github.com
Thu Jul 24 07:27:07 UTC 2014
I noticed that the "Next" link was mistakenly active while looking at a user who has exactly 10 notes:
https://www.openstreetmap.org/user/texaskdog/notes
You can merge this Pull Request by running:
git pull https://github.com/ToeBee/openstreetmap-website master
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/790
-- Commit Summary --
* Fix off-by-one error in user notes list
-- File Changes --
M app/views/notes/_notes_paging_nav.html.erb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/790.patch
https://github.com/openstreetmap/openstreetmap-website/pull/790.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140724/a158e1f6/attachment.html>
More information about the rails-dev
mailing list