summaryrefslogtreecommitdiff
path: root/app/models/protected_branch.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 15:00:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 15:00:09 +0300
commit3a21c904dda9aa9c701675ccc6d1c15b20a745b3 (patch)
treeb67f6e4f95b92fd3f234c70ea119173b01fa2c0d /app/models/protected_branch.rb
parent04516027df466747168bd80507aff62e61ac0d2d (diff)
downloadgitlab-ce-3a21c904dda9aa9c701675ccc6d1c15b20a745b3.tar.gz
Use strong params for 5 more models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/protected_branch.rb')
-rw-r--r--app/models/protected_branch.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index d2b2b1218d1..1b06dd77523 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -12,8 +12,6 @@
class ProtectedBranch < ActiveRecord::Base
include Gitlab::ShellAdapter
- attr_accessible :name
-
belongs_to :project
validates :name, presence: true
validates :project, presence: true