mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
More charackters from map are shown in gather.
This commit is contained in:
parent
68039ffc2e
commit
20bcc82586
1 changed files with 2 additions and 2 deletions
|
@ -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 %>
|
||||||
|
|
Loading…
Reference in a new issue