Disable turbolinks on search links to fix JS errors [SCI-452]

This commit is contained in:
Oleksii Kriuchykhin 2017-05-12 13:23:29 +02:00
parent 213425b493
commit ad39d09a53

View file

@ -11,10 +11,11 @@ module SearchHelper
if search_team != current_team if search_team != current_team
link_to text, link_to text,
path, path,
data: { confirm: t('users.settings.changed_team_in_search', data: { no_turbolink: true,
confirm: t('users.settings.changed_team_in_search',
team: search_team.name) } team: search_team.name) }
else else
link_to text, path link_to text, path, data: { no_turbolink: true }
end end
end end