mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
ae2f34c910
no issue - move the post lookup functionality into its own file - handle the pre and post lookup checks to verify that we found the correct post - checking that the URL matches handles checking that a post looked up with pagePermalink is a page - all cases where there is no match throws a 404 directly, this could just call next() ? |
||
---|---|---|
.. | ||
channels_spec.js | ||
context_spec.js | ||
error_spec.js | ||
fetch-data_spec.js | ||
format-response_spec.js | ||
index_spec.js | ||
post-lookup_spec.js | ||
templates_spec.js |