0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/unit
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
..
controllers/frontend Split post lookup out of frontend controller 2016-05-05 15:53:17 +02:00
metadata Add structured data to static pages 2016-03-30 12:57:13 +01:00
middleware fix: update_check_spec setup, serve-shared-file_spec setup 2016-04-14 18:24:53 +02:00
models_plugins
server_helpers Fixing undefined page case for page_url helper 2016-04-14 11:22:23 +01:00
api_utils_spec.js Replace busboy upload middleware with multer 2016-04-07 21:30:46 -05:00
apps_filters_spec.js
apps_spec.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
config_spec.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
error_handling_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
exporter_spec.js
filters_spec.js
ghost_url_spec.js
importer_spec.js
mail_spec.js
migration_fixture_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
migration_fixture_utils_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
migration_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
permissions_spec.js
rss_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
server_helpers_index_spec.js
server_helpers_template_spec.js
server_spec.js
server_utils_spec.js Replace internal tempfile name generator 2016-03-29 15:19:42 -05:00
showdown_client_integrated_spec.js
sitemap_spec.js
storage_local-file-store_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
utils_pipeline_spec.js
versioning_spec.js
xmlrpc_spec.js