Skip to content

Commit

Permalink
fix twitter pb
Browse files Browse the repository at this point in the history
  • Loading branch information
appelaure committed Aug 15, 2017
1 parent 95e8393 commit 84fef98
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 84fef98

Please sign in to comment.