Skip to content

Commit

Permalink
Revert exception for strict class name finding.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 26, 2018
1 parent 78340f5 commit cd063fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Controller/Component/RequestHandlerComponent.php
Expand Up @@ -598,9 +598,6 @@ public function renderAs(Controller $controller, $type, array $options = [])
$viewClass = null;
if ($builder->getClassName() === null) {
$viewClass = App::className($view, 'View', 'View');
if ($viewClass === false) {
throw new RuntimeException('Configured view class can not be found: ' . $view);
}
}

if ($viewClass) {
Expand Down

0 comments on commit cd063fa

Please sign in to comment.