X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f2a5cadcb693b34b81a9232b8879c3b4f12843d..5542858315f89d73cd13b1292acbbddb7de678cc:/app/views/diary_entries/show.html.erb diff --git a/app/views/diary_entries/show.html.erb b/app/views/diary_entries/show.html.erb index e80a44f09..9e3e7da65 100644 --- a/app/views/diary_entries/show.html.erb +++ b/app/views/diary_entries/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :head do %> + <%= javascript_include_tag "social_share_button" %> +<% end %> + <% content_for :heading do %>
@@ -11,6 +15,7 @@ <% end %> <%= render @entry %> +<%= social_share_buttons(:title => @entry.title, :url => diary_entry_url(@entry.user, @entry)) %>