diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-09-11 10:16:03 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-09-11 10:16:03 +0000 |
commit | 1dc3448218125759be940c1f6a4a2865686e6b42 (patch) | |
tree | ce671b9eeb6b413b146acb54d7846e972d362a1b /app | |
parent | 3fd9787e43f7092490e7f0ce36900bbeafd4921b (diff) | |
download | redmine-1dc3448218125759be940c1f6a4a2865686e6b42.tar.gz redmine-1dc3448218125759be940c1f6a4a2865686e6b42.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects_controller.rb | 3 |
1 files changed, 1 insertions, 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 |