Remove default argument values of OpenGraph tag helper
This commit is contained in:
parent
6be766d015
commit
e0cec1a6e8
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue