Merge branch '12167-workbench-request-id'
[arvados.git] / apps / workbench / config / application.rb
index a1f35c43c333e9cc31c13b7279e16951ced87af0..891dd432c0dccfedf4f773cd41748c0222124e88 100644 (file)
@@ -52,6 +52,11 @@ module ArvadosWorkbench
 
     # Version of your assets, change this if you want to expire all your assets
     config.assets.version = '1.0'
+
+    # npm-rails loads top-level modules like window.Mithril, but we
+    # also pull in some code from node_modules in application.js, like
+    # mithril/stream/stream.
+    config.assets.paths << Rails.root.join('node_modules')
   end
 end