0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/unit/controllers/frontend
Hannah Wolfe ae2f34c910 Split post lookup out of frontend controller
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() ?
2016-05-05 15:53:17 +02:00
..
channels_spec.js
context_spec.js
error_spec.js
fetch-data_spec.js
format-response_spec.js
index_spec.js move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
post-lookup_spec.js Split post lookup out of frontend controller 2016-05-05 15:53:17 +02:00
templates_spec.js