fixes archive button but [fixes SCI-2300]

This commit is contained in:
zmagod 2018-04-16 09:22:10 +02:00
parent 0815111cae
commit a2d8285f35
2 changed files with 7 additions and 7 deletions

View file

@ -256,7 +256,7 @@ a[data-toggle="tooltip"] {
}
ul.nav {
margin-right: 0;
margin-right: 60px;
& > li {
text-transform: uppercase;

View file

@ -5,15 +5,15 @@ class ProjectsController < ApplicationController
include InputSanitizeHelper
before_action :generate_intro_demo, only: :index
before_action :load_vars, only: [:show, :edit, :update,
:notifications, :reports,
:samples, :experiment_archive,
:delete_samples, :samples_index]
before_action :load_projects_by_teams, only: %i(index show samples)
before_action :load_vars, only: %i(show edit update
notifications reports
samples experiment_archive
delete_samples samples_index)
before_action :load_projects_by_teams, only: %i(index show samples archive)
before_action :check_view_permissions, only: %i(show reports notifications
samples experiment_archive
samples_index)
before_action :check_create_permissions, only: [ :new, :create ]
before_action :check_create_permissions, only: %i(new create)
before_action :check_manage_permissions, only: :edit
@filter_by_archived = false