Skip to content

Commit

Permalink
Set failover for elements via setter
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Oct 19, 2017
1 parent 20fffdb commit 9d47890
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Controllers/ElementController.php
Expand Up @@ -38,9 +38,10 @@ class ElementController extends Controller
public function __construct(BaseElement $element)
{
$this->element = $element;
$this->failover = $element;

parent::__construct();

$this->setFailover($this->element);
}

/**
Expand Down
@@ -1 +1,3 @@
$ElementalArea
<div class="test-page-template">
$ElementalArea
</div>

0 comments on commit 9d47890

Please sign in to comment.