From e0cec1a6e8859c966e3dc22671842c472ba6d3bc Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 7 Aug 2024 18:55:08 +0300 Subject: [PATCH] Remove default argument values of OpenGraph tag helper --- app/helpers/open_graph_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.39.5