From: Anton Khorev Date: Wed, 7 Aug 2024 15:55:08 +0000 (+0300) Subject: Remove default argument values of OpenGraph tag helper X-Git-Tag: live~306^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/e0cec1a6e8859c966e3dc22671842c472ba6d3bc Remove default argument values of OpenGraph tag helper --- diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index ad24c73b2..a2c429ed7 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -1,7 +1,7 @@ module OpenGraphHelper require "addressable/uri" - def opengraph_tags(title = nil, og_image = nil, og_image_alt = nil) + def opengraph_tags(title, og_image, og_image_alt) tags = { "og:site_name" => t("layouts.project_name.title"), "og:title" => title || t("layouts.project_name.title"),