You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to include data with my templates. Both of these render nothing for {{ $title }}:
@include('partials/sighting-top', array('title' => 'My Title')) // usual way
@include('partials/sighting-top')->with('title','My Title') // should work to?
Hi,
I'm trying to include data with my templates. Both of these render nothing for
{{ $title }}
:So I look at this:
blade.php#L332-L337
and wonder about
->with(get_defined_vars())
.Doesn't this just rewrite my
$title
to null, since no value is supplied?view.php#L452-L463
The text was updated successfully, but these errors were encountered: