mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:15:46 +08:00
1fa7a87f86
Under some conditions, these varied responses could lead to cache poisoning, hence the 'security' label. Previously the Rails application would serve JSON data in place of HTML whenever Ember CLI requested an `application.html.erb`-rendered page. This commit removes that logic, and instead parses the HTML out of the standard response. This means that Rails doesn't need to customize its response for Ember CLI. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |