More charackters from map are shown in gather.

This commit is contained in:
simplefl 2015-04-06 23:28:35 +02:00
parent 68039ffc2e
commit 20bcc82586

View file

@ -38,13 +38,13 @@
<li>
<span><%= map.votes %></span>
<% if map.real_votes.build(user: cuser).can_create? cuser %>
<%= link_to shorten(map, 15),
<%= link_to shorten(map, 30),
controller: "votes", action: "create",
vote: { votable_id: map.id, votable_type: "GatherMap" },
method: "post" %>
<% vote_maps = true %>
<% else %>
<%= shorten map, 15 %>
<%= shorten map, 30 %>
<% end %>
</li>
<% end %>