BUGFIX Fixed WidgetControllerTest by adding missing url routing to ContentController (see r85789)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85817 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-09-07 05:39:43 +00:00
parent 2cc0d016f4
commit 0cc95bec5f

View File

@ -19,8 +19,13 @@
* @subpackage control * @subpackage control
*/ */
class ContentController extends Controller { class ContentController extends Controller {
protected $dataRecord; protected $dataRecord;
static $url_handlers = array(
'widget/$ID/$Action' => 'handleWidget'
);
/** /**
* The ContentController will take the URLSegment parameter from the URL and use that to look * The ContentController will take the URLSegment parameter from the URL and use that to look
* up a SiteTree record. * up a SiteTree record.