mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +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. |
||
---|---|---|
.. | ||
base.js | ||
index.js | ||
permission.js | ||
post.js | ||
role.js | ||
settings.js | ||
user.js |