discourse/discourse — pull request #637 by wojciechka (2013-04-03 18:59:07+00:00)
Title: Putting rootURL in JavaScript using Discourse::base_uri and erb

Putting rootURL in JavaScript using Discourse::base_uri and erb

This is mainly meant for running discourse with a prefix, and mainly meant to ease deploying the website with a prefix (so no manual changes in *.js files are needed).