Ghost/core
Aileen Nowak 3c669cdd1f Swap order of apps & catch-all route (#7194)
no issue

This small change swaps over the order in which the app routes, and catch-all `*` routes are processed.

This will have an impact on the behaviour of all of our internal apps. Both the private blogging and subscribers apps have a route where they render their own template. Private blogging has `/private/` which renders `private.hbs` and subscribers has a similar `/subscribe/` route (and in future `/unsubscribe/`).

Because these routes weren't listed in our reserved words list, it is possible for a blog to already have a post or a page that lives at `/private/` or, perhaps more likely `/subscribe/`. Prior to this change, their already setup page would be rendered instead of the app's page. After this change, the app's own route will be correctly rendered.

This is effectively a bug fix, because if you enable these features then you would expect them to work.

Moving forward, this change is absolutely required for the AMP app, because the route for that app is `*/amp/`. If the app routes aren't processed first, then this will not work.
2016-08-10 11:11:41 +01:00
..
client@1ce2e8b37c Move remainder of ember tasks to client repo (#7172) 2016-08-07 11:53:28 +02:00
server Swap order of apps & catch-all route (#7194) 2016-08-10 11:11:41 +01:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test ensure static page edit route redirects to editor (#7169) 2016-08-08 09:42:04 +02:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00