Quick fix for proposition listing

This commit is contained in:
Petko Bordjukov 2015-08-20 00:55:47 +03:00
parent 00160f404a
commit 6c8b0c304b
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@
th.actions th.actions
tbody tbody
- @events_by_proposer.each do |proposer, events| - @events_by_proposer.each do |proposer, events|
- profile = proposer.personal_profile(@conference) - profile = proposer.find_or_build_personal_profile(@conference)
tr tr
th[colspan="5"]= link_to profile.name, [:management, @conference, proposer] th[colspan="5"]= profile.try(:name) || proposer.email
- events.each do |event| - events.each do |event|
tr tr