diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 15:00:09 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 15:00:09 +0300 |
commit | 3a21c904dda9aa9c701675ccc6d1c15b20a745b3 (patch) | |
tree | b67f6e4f95b92fd3f234c70ea119173b01fa2c0d /app/models/protected_branch.rb | |
parent | 04516027df466747168bd80507aff62e61ac0d2d (diff) | |
download | gitlab-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.rb | 2 |
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 |