Created
June 17, 2014 20:57
-
-
Save justinyost/c61054b44e5579ae5d64 to your computer and use it in GitHub Desktop.
Sample Model With Modified DateTime Field Unset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('AppModel', 'Model'); | |
/** | |
* Blog Model | |
* | |
*/ | |
class Blog extends AppModel { | |
public $actsAs = array( | |
'Sitemap.Sitemap' => array( | |
// options for the Sitemap Behavior | |
'lastmod' => false, // will no longer attempt to use a last modified date/time field when generating the sitemap | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment