mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
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 |