Commit d259b5c6 authored by webchick's avatar webchick

Issue #2166059 by yched: Leftover commented-out code after 'Page object' patch.

parent 1d02be7f
......@@ -56,12 +56,6 @@ public function enhance(array $defaults, Request $request) {
$defaults['_controller'] = $this->types[$type];
}
}
// When the dialog attribute is TRUE this is a DialogController sub-request.
// Route the sub-request to the _content callable.
//if ($request->attributes->get('dialog') && !empty($defaults['_content'])) {
// $defaults['_controller'] = $defaults['_content'];
//}
return $defaults;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment