Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.

Corrected form.ctp template parse error

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5294 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-06-19 07:52:32 +00:00
parent f5c564f401
commit 4b6c5afe35
2 changed files with 2 additions and 1 deletions

View file

@ -127,6 +127,7 @@ class Dispatcher extends Object {
$oldAction = $params['action'];
$params = $this->_restructureParams($params);
$this->plugin = $plugin;
loadPluginModels($plugin);
$this->base = $this->base.'/'.Inflector::underscore($ctrlName);
if(empty($params['controller']) || !class_exists($pluginClass)) {