Fixes event link in schedule all_events

This commit is contained in:
differentreality 2016-08-23 15:13:18 +03:00
parent 7b64dca766
commit 3fdf183e96

View file

@ -13,7 +13,7 @@
</h4> </h4>
<p> <p>
<%= truncate(event.abstract, :length => 400) -%> <%= truncate(event.abstract, :length => 400) -%>
<%= link_to 'more', conference_program_proposal_path(@conference.short_title, @conference.program.id, event.id) if event.abstract.length > 400 %> <%= link_to 'more', conference_program_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400 %>
</p> </p>
</div> </div>
<% end %> <% end %>