From 31aed55ffc684e2a2552b65adba939f20049d64c Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Mon, 26 Mar 2018 17:55:51 +0200 Subject: [PATCH] Disable turbolinks on tasks navigation [SCI-2251] --- app/views/shared/sidebar/_my_modules.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/sidebar/_my_modules.html.erb b/app/views/shared/sidebar/_my_modules.html.erb index eca283045..16309a029 100644 --- a/app/views/shared/sidebar/_my_modules.html.erb +++ b/app/views/shared/sidebar/_my_modules.html.erb @@ -12,7 +12,7 @@ <%= my_module.name %> <% else %> <% if can_read_experiment?(my_module.experiment) %> - <%= link_to my_module.name, module_action_to_link_to(my_module), class: "module-link" %> + <%= link_to my_module.name, module_action_to_link_to(my_module), class: "module-link", data: { no_turbolink: true } %> <% else %> <%= my_module.name %> <% end %> @@ -39,7 +39,7 @@ <% if currently_active? my_module %> <%= my_module.name %> <% else %> - <%= link_to my_module.name, module_action_to_link_to(my_module) %> + <%= link_to my_module.name, module_action_to_link_to(my_module), data: { no_turbolink: true } %> <% end %> <% if is_canvas? %>