mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
5c12c78d00
closes #528 - adds method (isPost)to models index.js that returns true if content, content_raw, title and slug are valid properties - adds url helper which checks context is post using isPost method - adds unit test to check a url is prefixed with / -adds unit test which checks for empty string if either of the 4 properties above are not present. |
||
---|---|---|
.. | ||
controllers | ||
data | ||
filters | ||
helpers | ||
models | ||
permissions | ||
plugins | ||
views | ||
api.js | ||
errorHandling.js | ||
require-tree.js |