Skip to content

Commit

Permalink
Merge pull request #49 from salouri/patch-1
Browse files Browse the repository at this point in the history
typo: DateTableComponent => DataTableComponent
  • Loading branch information
josegonzalez committed Aug 12, 2014
2 parents 52cb6a8 + eed3963 commit 6452776
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 6452776

Please sign in to comment.