mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
2cc0d016f4
commit
0cc95bec5f
@ -19,8 +19,13 @@
|
||||
* @subpackage control
|
||||
*/
|
||||
class ContentController extends Controller {
|
||||
|
||||
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
|
||||
* up a SiteTree record.
|
||||
|
Loading…
Reference in New Issue
Block a user