Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 15:30:07 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 15:30:07 +0400
commit1dab15940db4c77ac23f49ece7eee2847d4614aa (patch)
treec786ef9b9605e487aff180c2baab94b36ebe5835 /app/models/issue.rb
parent024e0577c6b6ded30ee09536082bd24405bda1e5 (diff)
Remove protected_atrributes gem and start moving to strong params
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index f0c2e552273..a116a9354cb 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -33,9 +33,6 @@ class Issue < ActiveRecord::Base
scope :of_group, ->(group) { where(project_id: group.project_ids) }
scope :of_user_team, ->(team) { where(project_id: team.project_ids, assignee_id: team.member_ids) }
- attr_accessible :title, :assignee_id, :position, :description,
- :milestone_id, :label_list, :state_event
-
acts_as_taggable_on :labels
scope :cared, ->(user) { where(assignee_id: user) }