summaryrefslogtreecommitdiff
path: root/app/models/protected_tag
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-04 03:37:22 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-04 03:38:58 +0100
commit07d7d8e65905a39164b63f55eccdcea8f10f5d14 (patch)
tree4fc627e0256a787ab80f4483b3d6e2442c26a619 /app/models/protected_tag
parentf9e849c076efb3162a3d951d8aae2e7be3e574f4 (diff)
downloadgitlab-ce-07d7d8e65905a39164b63f55eccdcea8f10f5d14.tar.gz
Renamed ProtectedTag push_access_levels to create_access_levels
Diffstat (limited to 'app/models/protected_tag')
-rw-r--r--app/models/protected_tag/create_access_level.rb (renamed from app/models/protected_tag/push_access_level.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/protected_tag/push_access_level.rb b/app/models/protected_tag/create_access_level.rb
index 9282af841ce..c7e1319719d 100644
--- a/app/models/protected_tag/push_access_level.rb
+++ b/app/models/protected_tag/create_access_level.rb
@@ -1,4 +1,4 @@
-class ProtectedTag::PushAccessLevel < ActiveRecord::Base
+class ProtectedTag::CreateAccessLevel < ActiveRecord::Base
include ProtectedTagAccess
validates :access_level, presence: true, inclusion: { in: [Gitlab::Access::MASTER,