Ghost/core/server/models
Jacob Gable d37be6f098 Lazy load default settings
Closes #2061

- Lazy load the defaultSettings value in Settings model
- Populate individual defaults before read/edit
- Populate all defaults before first browse call
- Remove populateDefaults calls from init code
2014-06-17 10:36:47 -05:00
..
app.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
appField.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
appSetting.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
base.js Bumping to Knex 0.6.12, Bookshelf 0.7.1 2014-06-10 17:07:53 -04:00
index.js Refactor API arguments 2014-05-15 10:41:05 +01:00
permission.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
post.js Fix content preview actions and add tests 2014-05-23 20:54:02 +00:00
role.js Refactor API arguments 2014-05-15 10:41:05 +01:00
session.js Refactor API arguments 2014-05-15 10:41:05 +01:00
settings.js Lazy load default settings 2014-06-17 10:36:47 -05:00
tag.js Refactor API arguments 2014-05-15 10:41:05 +01:00
user.js Refactor API arguments 2014-05-15 10:41:05 +01:00