Skip to content

Commit 0ce73ec

Browse files
author
Shawn McCool
committed
Merge branch 'master' of https://github.com/Mikaweb/docs into hotfix/add-view-share
2 parents 1597b1f + c2e42ec commit 0ce73ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

views/home.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Typically, a route or controller will request data from a model that the view ne
9191

9292
$view['name'] = 'James';
9393
$view['email'] = '[email protected]';
94+
95+
#### Share a value in each view into your application:
96+
97+
View::share('key', 'value');
9498

9599
<a name="nesting-views"></a>
96100
## Nesting Views

0 commit comments

Comments
 (0)