0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/models
Hannah Wolfe a0dff19b7a Customise slug base name for different models
fixes #2480

- when the santisation of a slug results in an empty string, we use a basename instead.
- this was 'post' and is now the table name for the model, minus the trailing 's'
- this isn't massively robust but works as a temporary fix
2014-03-23 18:52:25 +00:00
..
base.js Customise slug base name for different models 2014-03-23 18:52:25 +00:00
index.js Add promise to ghost startup process to allow 2014-03-11 11:41:45 -04:00
permission.js Replace JSLint with JSHint. 2014-03-04 15:47:39 +00:00
post.js Merge pull request #2435 from halfdan/2148-rpc 2014-03-20 19:14:23 +00:00
role.js Add validation from schema.js 2014-02-19 18:32:23 +01:00
session.js Replace JSLint with JSHint. 2014-03-04 15:47:39 +00:00
settings.js Fixes random pg failures. 2014-03-17 10:54:31 +00:00
tag.js Add validation from schema.js 2014-02-19 18:32:23 +01:00
user.js Update validator to 3.4.0 2014-03-04 13:54:24 -07:00