Skip to content

Commit

Permalink
typo: DateTableComponent => DataTableComponent
Browse files Browse the repository at this point in the history
typo: DateTableComponent => DataTableComponent
  • Loading branch information
salouri committed Aug 11, 2014
1 parent 52cb6a8 commit eed3963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/Component/DataTableComponent.php
Expand Up @@ -129,7 +129,7 @@ public function beforeRender(Controller $controller) {
$this->Controller->set('dtColumns', $this->_columns);
if ($this->isDataTableRequest()) {
if (!isset($this->_params['model'])) {
throw new Exception('DateTableComponent: Model not specified for request.');
throw new Exception('DataTableComponent: Model not specified for request.');
}
$this->process($this->_params['model']);
}
Expand Down Expand Up @@ -402,4 +402,4 @@ public function getDefaults($alias) {
return array_merge($this->_defaults, parent::getDefaults($alias));
}

}
}

0 comments on commit eed3963

Please sign in to comment.