From 58d8414f92fdec53cb944177a62faf1346f0e4f5 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Fri, 1 Jun 2018 15:05:12 +0200 Subject: [PATCH] Code fixes for sidebar [SCI-2478] --- app/controllers/projects_controller.rb | 2 +- app/views/projects/index.html.erb | 2 +- app/views/shared/sidebar/_my_modules.html.erb | 4 +++- app/views/shared/sidebar/_projects.html.erb | 4 +--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 8371ed9b0..433a5a048 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -10,7 +10,7 @@ class ProjectsController < ApplicationController samples experiment_archive delete_samples samples_index) before_action :load_projects_tree, only: %i(index show samples archive - experiment_archive) + experiment_archive) before_action :load_archive_vars, only: :archive before_action :check_view_permissions, only: %i(show reports notifications samples experiment_archive diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index a5af87fe9..fda5efe5c 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -84,7 +84,7 @@