1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/phame
epriestley bcc5e55af2 Push construction of routing maps into Sites
Summary:
This enables CORGI.

Currently, `AphrontSite` subclasses can't really have their own routes. They can do this sort of hacky rewriting of paths, but that's a mess and not desirable in the long run.

Instead, let subclasses build their own routing maps. This will let CORP and ORG have their own routing maps.

I was able to get rid of the `PhameBlogResourcesSite` since it can really just share the standard resources site.

Test Plan:
  - With no base URI set, and a base URI set, loaded main page and resources (from main site).
  - With file domain set, loaded resources from main site and file site.
  - Loaded a skinned blog from a domain.
  - Loaded a skinned blog from the main site.
  - Viewed "Request" tab of DarkConsole to see site/controller info.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D14008
2015-08-31 04:01:01 -07:00
..
application Push construction of routing maps into Sites 2015-08-31 04:01:01 -07:00
celerity Move build-time resources to "CelerityPhysicalResources" to fix Phame 2013-12-31 19:21:56 -08:00
conduit phtize all the things 2015-05-22 21:16:39 +10:00
config Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
controller Push construction of routing maps into Sites 2015-08-31 04:01:01 -07:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Clean up Phame a little 2015-07-29 17:03:13 -07:00
site Push construction of routing maps into Sites 2015-08-31 04:01:01 -07:00
skins Extend from Phobject 2015-06-15 18:02:27 +10:00
storage Add Projects to Phame Blog and Phame Post 2015-07-22 07:08:00 -07:00
view Clean up Phame a little 2015-07-29 17:03:13 -07:00