X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2a5e35c7160624ba5225e065f7d726b01abb2612..e1a1bebd956a3334785ab52d28e27e4e73f63b41:/app/helpers/social_share_button_helper.rb?ds=inline diff --git a/app/helpers/social_share_button_helper.rb b/app/helpers/social_share_button_helper.rb index edbd056a2..2980e2dda 100644 --- a/app/helpers/social_share_button_helper.rb +++ b/app/helpers/social_share_button_helper.rb @@ -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)