Use of rubocop compliant unescaping methods in application_helper.rb

This commit is contained in:
divyanshumehta 2017-05-29 15:02:14 +05:30
parent 0d01ed08b0
commit 1223fef87c

View file

@ -147,7 +147,7 @@ module ApplicationHelper
end
def speaker_links(event)
event.speakers.map{ |speaker| link_to speaker.name, admin_user_path(speaker) }.join(', ').html_safe
safe_join(event.speakers.map{ |speaker| link_to speaker.name, admin_user_path(speaker) }, ',')
end
def speaker_selector_input(form)