Skip to content

Commit

Permalink
truncate title length, fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed Jan 5, 2016
1 parent 79bdc68 commit 24a7457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/frontend/shared/_event_metadata.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
= render partial: 'frontend/shared/event_persons', locals: { persons: event.persons }
%h3
%a{href: event_url(slug: event.slug)}
= event.title
= truncate(event.title, length: 90, separator: ' ', omission: '…')

0 comments on commit 24a7457

Please sign in to comment.