From 1dc3448218125759be940c1f6a4a2865686e6b42 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sat, 11 Sep 2021 10:16:03 +0000 Subject: [PATCH] Merged r21218 from trunk to 4.2-stable (#35827). git-svn-id: http://svn.redmine.org/redmine/branches/4.2-stable@21221 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/projects_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index c9b8f4d97..c2c4c08c1 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -27,8 +27,7 @@ class ProjectsController < ApplicationController before_action :authorize, :except => [:index, :autocomplete, :list, :new, :create, :copy, :archive, :unarchive, - :destroy - ] + :destroy] before_action :authorize_global, :only => [:new, :create] before_action :require_admin, :only => [:copy, :archive, :unarchive] accept_rss_auth :index