Commits

christiansalazar committed bcd6164

Urlmanager enabled.

  • Participants
  • Parent commits bee4291

Comments (0)

Files changed (1)

YiiChatWidget.php

 			if(!isset($_impl[$_interfaceName]))
 				throw new Exception("The model instance passed by "
 					."argument to this widget must implements IYiiChat interface");
-		$this->_action = array($this->defaultController.'/yiichat');
+		// this 'dummy' argument is required to provide urlmanager support...
+		$this->_action = array($this->defaultController.'/yiichat','dummy'=>'@');
 		$options = CJavaScript::encode(array(
 			'selector'=>$this->selector,
 			'chat_id'=>$this->chat_id,