Skip to content

Commit c2e42ec

Browse files
author
Maxime Dizerens
committed
Quicky...
1 parent 0a85992 commit c2e42ec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

views/home.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,9 @@ Typically, a route or controller will request data from a model that the view ne
9292
$view['name'] = 'James';
9393
$view['email'] = '[email protected]';
9494

95-
#### Share a value in each view into your application
95+
#### Share a value in each view into your application:
9696

97-
<div class="content">
98-
<?php View::share('key', 'value'); ?>
99-
</div>
97+
View::share('key', 'value');
10098

10199
<a name="nesting-views"></a>
102100
## Nesting Views

0 commit comments

Comments
 (0)