Merge pull request #1498 from divyanshumehta/issue_1497

Added Style/SpaceInsideBrackets Rubocop cop
This commit is contained in:
Ana María Martínez Gómez 2017-06-12 17:45:30 +02:00 committed by GitHub
commit 53040b3be9
5 changed files with 8 additions and 11 deletions

View file

@ -152,7 +152,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)