updates devise & ahoy

This commit is contained in:
Juanjo Bazán
2016-04-19 13:27:16 +02:00
parent 038a520987
commit 87d2d74f66
5 changed files with 26 additions and 19 deletions

View File

@@ -96,7 +96,7 @@
<h3><%= t("proposals.show.share") %></h3>
<div class="social-share-full">
<%= social_share_button_tag("#{@proposal.title} #{setting['twitter_hashtag']}") %>
<% if browser.mobile? %>
<% if browser.device.mobile? %>
<a href="whatsapp://send?text=<%= @proposal.title %> <%= proposal_url(@proposal) %>" data-action="share/whatsapp/share">
<span class="icon-whatsapp whatsapp"></span>
</a>