Skip to content

Commit

Permalink
強制的に除去できるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Aug 30, 2016
1 parent f75a346 commit ebdc28f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Model/Topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,18 @@ class Topic extends TopicsAppModel {
*/
public $validate = array();

/**
* use behaviors
*
* @var array
*/
public $actsAs = array(
'Wysiwyg.Purifiable' => array(
'fields' => array('Topic' => array('summary')),
'forcePurify' => true
),
);

/**
* belongsTo associations
*
Expand Down

0 comments on commit ebdc28f

Please sign in to comment.