mirror of
https://github.com/redmine/redmine.git
synced 2025-11-03 20:06:24 +01:00
Fix that deleting a closed or archived projects not working anymore after r20034 (#35827).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,7 +26,9 @@ class ProjectsController < ApplicationController
|
||||
:except => [:index, :autocomplete, :list, :new, :create, :copy]
|
||||
before_action :authorize,
|
||||
:except => [:index, :autocomplete, :list, :new, :create, :copy,
|
||||
:archive, :unarchive]
|
||||
:archive, :unarchive,
|
||||
:destroy
|
||||
]
|
||||
before_action :authorize_global, :only => [:new, :create]
|
||||
before_action :require_admin, :only => [:copy, :archive, :unarchive]
|
||||
accept_rss_auth :index
|
||||
|
||||
Reference in New Issue
Block a user