mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
91ca4a43e5
closes #1757 and #1773 - switches routes.frontend for posts and pages to use a regex with two capturing groups. This removes the need to dynamically remove an express route at a later point, leaving the decision making to frontend controller. - added unit tests for all routing conditions that can arise for posts and pages. - updated functional tests to also test for same thing in unit tests - removes old code from server/api/index that used to fix this issue, but is no longer needed - removed some un-needed require statements in routes/admin |
||
---|---|---|
.. | ||
admin_spec.js | ||
client_ghostdown_spec.js | ||
client_showdown_int_spec.js | ||
config_spec.js | ||
errorHandling_spec.js | ||
export_spec.js | ||
filters_spec.js | ||
frontend_spec.js | ||
import_spec.js | ||
mail_spec.js | ||
middleware_spec.js | ||
permissions_spec.js | ||
plugin_proxy_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_spec.js | ||
shared_gfm_spec.js | ||
storage_localfilesystem_spec.js |