Skip to content

Commit

Permalink
Update Timber::get_context()
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacola committed Jul 27, 2024
1 parent b76d0c4 commit 26a0d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/Onyx/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ abstract public function initialize();
*/
protected function get_timber_context() {
add_filter( 'timber/context', [ $this, 'set_global_context' ] );
$this->context = Timber::get_context();
$this->context = Timber::context();
}

/**
Expand Down

0 comments on commit 26a0d31

Please sign in to comment.