mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 15:53:48 +08:00
6272edd121
The second attempt fixed issues with smoke test. This one makes sure minification only happens in production mode.
8 lines
151 B
Plaintext
8 lines
151 B
Plaintext
<%
|
|
if @force_ember_debug || Rails.env.development? || Rails.env.test?
|
|
require_asset ("ember.debug.js")
|
|
else
|
|
require_asset ("ember.prod.js")
|
|
end
|
|
%>
|