diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 15:11:45 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 15:11:45 +0300 |
| commit | 98ba075c327c20f84bb465907ff1d954538e0e39 (patch) | |
| tree | 57d51d81209c14dc8cb4307aedeed2b40ed99949 /app/models/note.rb | |
| parent | 3a21c904dda9aa9c701675ccc6d1c15b20a745b3 (diff) | |
| download | gitlab-ce-98ba075c327c20f84bb465907ff1d954538e0e39.tar.gz | |
User model to strong params. Comment other attr_accessible to let tests run
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/note.rb')
| -rw-r--r-- | app/models/note.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 94d45aa43db..d17cddb0bd1 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -25,8 +25,8 @@ class Note < ActiveRecord::Base default_value_for :system, false - attr_accessible :note, :noteable, :noteable_id, :noteable_type, :project_id, - :attachment, :line_code, :commit_id + #attr_accessible :note, :noteable, :noteable_id, :noteable_type, :project_id, + #:attachment, :line_code, :commit_id attr_mentionable :note belongs_to :project |
