Ghost/core
Hannah Wolfe 5f2c913fc1 Clean up paginated URL generation
refs #5091, #6612

- unify getNextUrl & getPrevUrl into getPaginatedUrl
- ensure that it can generate a prev, next or exact page no url
- ensure that it can figure out the base url
- use the same code from the page_url helper
- refactor the tests to ensure there's 100% coverage

Following on from #6612, this ensures that pagination always works regardless of whether the channel is default or custom
2016-03-20 22:35:00 +00:00
..
client deps: ember-cli@2.4.2 2016-03-07 09:17:51 +00:00
server Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
shared ensure null query options don't break ghost-url 2016-02-29 00:25:38 -06:00
test Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00