]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/show.html.erb
Drop render prefix from social_share_buttons function
[rails.git] / app / views / diary_entries / show.html.erb
index 14b1576f0fdc9f6339f169fedddef1622e3bc44b..f54ae1ca7e043afd8d114034625e3c669071dfb4 100644 (file)
 <% end %>
 
 <%= render @entry %>
-<%= render_social_share_buttons({
-                                  :title => @entry.title,
-                                  :url => diary_entry_url(@entry.user, @entry)
-                                }) %>
+<%= social_share_buttons({
+                           :title => @entry.title,
+                           :url => diary_entry_url(@entry.user, @entry)
+                         }) %>
 
 <div id="comments" class="comments mb-3 overflow-hidden">
   <div class="row border-bottom border-secondary-subtle">