Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-12 18:09:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-12 18:09:33 +0300
commit006000e366ad5dc61966770d33e3afd4c07e728d (patch)
tree2724bc1cd73a6f829d62f5ca68a423b921bd1af8 /app/helpers
parent26e44c6225a19c3ec4e7d607f92b16d42b437c80 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/in_product_marketing_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/in_product_marketing_helper.rb b/app/helpers/in_product_marketing_helper.rb
index ccf3fe51870..061404e989d 100644
--- a/app/helpers/in_product_marketing_helper.rb
+++ b/app/helpers/in_product_marketing_helper.rb
@@ -343,7 +343,7 @@ module InProductMarketingHelper
end
end
- def inline_image_link(folder, image, **options)
+ def inline_image_link(folder, image, options)
attachments.inline[image] = File.read(Rails.root.join("app/assets/images", folder, image))
image_tag attachments[image].url, **options
end