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