diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-01-25 23:40:48 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-01-25 23:40:48 +0300 |
commit | 8210d2eba5f0a52759156bc2bf8df72884747c42 (patch) | |
tree | 12bdf7e23a9719ad38d5923c143e577b1a476b86 /app | |
parent | 218136ac40547e82bc49562805b1af983d956e72 (diff) |
fix bug in webpack_helper in which force_same_domain argument was ignored breaking local rspec tests
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/webpack_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/webpack_helper.rb b/app/helpers/webpack_helper.rb index 94887c2cbd2..77433acb92a 100644 --- a/app/helpers/webpack_helper.rb +++ b/app/helpers/webpack_helper.rb @@ -2,7 +2,7 @@ require 'webpack/rails/manifest' module WebpackHelper def webpack_bundle_tag(bundle, force_same_domain: false) - javascript_include_tag(*gitlab_webpack_asset_paths(bundle, force_same_domain: true)) + javascript_include_tag(*gitlab_webpack_asset_paths(bundle, force_same_domain: force_same_domain)) end # override webpack-rails gem helper until changes can make it upstream |