mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
5ff2a31ce1
resolves #2170 - creates a models.init() function that requires all other model files and caches them. This is opposed to the previous functionality where when you require('./models') it would immediately require all other models. Now it's done when you want. - Updates all tests to reflect the new structure of the model module |
||
---|---|---|
.. | ||
authentication.js | ||
db.js | ||
index.js | ||
mail.js | ||
notifications.js | ||
posts.js | ||
roles.js | ||
settings.js | ||
slugs.js | ||
tags.js | ||
themes.js | ||
upload.js | ||
users.js | ||
utils.js |