Skip to content

Commit

Permalink
Merge pull request #91 from Det-Kongelige-Bibliotek/development
Browse files Browse the repository at this point in the history
fix twitter pb
  • Loading branch information
davidgrove73 authored Aug 15, 2017
2 parents aa27ff2 + 84fef98 commit ab63571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/catalog/_show_default.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<i class="fa fa-facebook fa-lg" aria-hidden="true"></i>
</a>
<a href="https://twitter.com/intent/tweet?&amp;url=http://www.kb.dk<%= document.id %>" target="_blank" title="<%= t('social_button_title.twitter')%>">
<a href="https://twitter.com/intent/tweet?&amp;url=http://www.kb.dk<%= document.id + "/" + params[:locale]%>" target="_blank" title="<%= t('social_button_title.twitter')%>">
<i class="fa fa-twitter fa-lg" aria-hidden="true"></i>
</a>
<a href="javascript:window.print();" title="<%= t('social_button_title.print')%>">
Expand Down

0 comments on commit ab63571

Please sign in to comment.