Commit: 30deeddb9f0f3e5f6b56bb632db1963572b42f2b
Author: gwoo | Date: 2009-12-08 21:46:58 -0800
diff --git a/models/Paste.php b/models/Paste.php
index 844c91e..d97f09d 100644
--- a/models/Paste.php
+++ b/models/Paste.php
@@ -52,12 +52,8 @@ class Paste extends \lithium\data\Model {
*/
public $validates = array(
'content' => 'You seem to be missing the content.',
- 'author' => array(
- 'rule' => 'isAlphaNumeric', 'message' => 'You forgot your alphanumeric name?'
- ),
- 'language' => array(
- 'rule' => 'validLanguage', 'message' => 'Invalid language.'
- )
+ 'author' => array('isAlphaNumeric', 'message' => 'You forgot your alphanumeric name?'),
+ 'language' => array('validLanguage', 'message' => 'Invalid language.')
);
/**