]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/social_share_button_helper.rb
Drop render prefix from social_share_buttons function
[rails.git] / app / helpers / social_share_button_helper.rb
index edbd056a2e82521b48e1305f7ef80bf013a9d2cc..2980e2ddafd14d8e185345bd8454c93dab2b7069 100644 (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)