mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 09:23:44 +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. |
||
---|---|---|
.. | ||
_head.html.erb | ||
application.html.erb | ||
crawler.html.erb | ||
email_template.html.erb | ||
embed.html.erb | ||
ember_cli.html.erb | ||
finish_installation.html.erb | ||
no_ember.html.erb | ||
publish.html.erb |