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/broadcast_message.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/broadcast_message.rb')
-rw-r--r-- | app/models/broadcast_message.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/broadcast_message.rb b/app/models/broadcast_message.rb index ce8b7973cd9..4d0c04bcc3d 100644 --- a/app/models/broadcast_message.rb +++ b/app/models/broadcast_message.rb @@ -14,8 +14,6 @@ # class BroadcastMessage < ActiveRecord::Base - attr_accessible :alert_type, :color, :ends_at, :font, :message, :starts_at - validates :message, presence: true validates :starts_at, presence: true validates :ends_at, presence: true |