Ghost/core/server/models
Hannah Wolfe 16f98ee80b Move pagination formatting into a util
refs #2896

- moves repeated code out of models
- creates a new file for unit-testable code (this should be moved in future)
- adds a default for `page` as that seems sensible
- adds 100% test coverage for the new file
2015-06-15 16:46:42 +01:00
..
base Move pagination formatting into a util 2015-06-15 16:46:42 +01:00
accesstoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
client.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
index.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js Move pagination formatting into a util 2015-06-15 16:46:42 +01:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
settings.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
tag.js Move pagination formatting into a util 2015-06-15 16:46:42 +01:00
user.js Move pagination formatting into a util 2015-06-15 16:46:42 +01:00