Commit 46c1581

mo khan <mo@mokhan.ca>
2014-11-11 00:38:20
add ember specific config for dev and prod environments.
1 parent 87e0c32
Changed files (2)
config/environments/development.rb
@@ -26,4 +26,6 @@ Erkell::Application.configure do
   # This option may cause significant delays in view rendering with a large
   # number of complex assets.
   config.assets.debug = true
+  config.ember.variant = :development
+  config.handlebars.precompile = false
 end
config/environments/production.rb
@@ -77,4 +77,5 @@ Erkell::Application.configure do
 
   # Use default logging formatter so that PID and timestamp are not suppressed.
   config.log_formatter = ::Logger::Formatter.new
+  config.ember.variant = :production
 end