Drop render prefix from social_share_buttons function
This commit is contained in:
parent
4d4b79800a
commit
e1a1bebd95
3 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue