Skip to content

Commit 6452776

Browse files
committed
Merge pull request #49 from salouri/patch-1
typo: DateTableComponent => DataTableComponent
2 parents 52cb6a8 + eed3963 commit 6452776

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Controller/Component/DataTableComponent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function beforeRender(Controller $controller) {
129129
$this->Controller->set('dtColumns', $this->_columns);
130130
if ($this->isDataTableRequest()) {
131131
if (!isset($this->_params['model'])) {
132-
throw new Exception('DateTableComponent: Model not specified for request.');
132+
throw new Exception('DataTableComponent: Model not specified for request.');
133133
}
134134
$this->process($this->_params['model']);
135135
}
@@ -402,4 +402,4 @@ public function getDefaults($alias) {
402402
return array_merge($this->_defaults, parent::getDefaults($alias));
403403
}
404404

405-
}
405+
}

0 commit comments

Comments
 (0)