But also, and primarily, this adds ability to serve static assets from project 'assets' folder. For example, in emigrant I have /project/emigrant/assets/images/logo.svg, which I can access at http://emigrantbank.herokuapp.com/images/logo.svg . Essentially anything that exists in /project/[active project key]/assets can be requested as if it exists in the /public folder.
As a consequence of above, no longer using /public/index.html in favor of erb so that we can embed analytics and set window title before app js loads.
Fixes:
/project/emigrant/assets/images/logo.svg
, which I can access at http://emigrantbank.herokuapp.com/images/logo.svg . Essentially anything that exists in /project/[active project key]/assets can be requested as if it exists in the /public folder.