Drop render prefix from social_share_buttons function

This commit is contained in:
Tom Hughes 2024-12-18 16:42:56 +00:00
parent 4d4b79800a
commit e1a1bebd95
3 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ module SocialShareButtonHelper
}.freeze
# Generates a set of social share buttons based on the specified options.
def render_social_share_buttons(opts = {})
def social_share_buttons(opts = {})
sites = opts.fetch(:allow_sites, [])
valid_sites, invalid_sites = filter_allowed_sites(sites)