]> git.mxchange.org Git - hub.git/commitdiff
Global fix for generating right class name for controller resolver (to make that...
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:41 +0000 (21:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:41 +0000 (21:41 +0000)
application/hub/class_ApplicationHelper.php

index 34c421ee9ced91cdf544b2fd521a5765e89935e8..6c1f8858bf6e6ce42cb006d2a57a2cc523b6fb28 100644 (file)
@@ -194,8 +194,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                        $requestInstance->setRequestElement('command', $commandName);
                } // END - if
 
-               // Get a resolver
-               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType);
+               // Get a controller resolver
+               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well