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 Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
context_spec.js Generate context from channelConfig, not URL 2016-03-20 12:59:25 +00:00
error_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
fetch-data_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
format-response_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
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 Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00