summaryrefslogtreecommitdiffstats
path: root/app/controllers/versions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/versions_controller.rb')
-rw-r--r--app/controllers/versions_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb
index 16dd35c99..7554014f6 100644
--- a/app/controllers/versions_controller.rb
+++ b/app/controllers/versions_controller.rb
@@ -27,6 +27,8 @@ class VersionsController < ApplicationController
accept_api_auth :index, :show, :create, :update, :destroy
+ require_sudo_mode :destroy
+
helper :custom_fields
helper :projects