Skip to content

Commit bec39f1

Browse files
committed
Fixed HTTP403 problem when archiving a project
1 parent d5927ff commit bec39f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/project_tree/patches/projects_controller_patch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def self.included(base) # :nodoc:
99
base.class_eval do
1010
unloadable
1111
#the before_filter is who gives the authorization to execute the function
12-
before_filter :authorize, :except => [ :index, :children, :autocomplete, :list, :new, :create, :copy ]
12+
before_filter :authorize, :except => [ :index, :children, :autocomplete, :list, :new, :create, :copy, :archive ]
1313
end
1414
end
1515

0 commit comments

Comments
 (0)