Skip to content

Commit a1e3a68

Browse files
committed
docs: update cell namespaces
1 parent c576964 commit a1e3a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/outgoing/view_cells.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ third parameter. This will use the currently configured cache engine.
267267
::
268268

269269
// Cache the view for 5 minutes
270-
<?= view_cell('\App\Libraries\Blog::recentPosts', 'limit=5', 300) ?>
270+
<?= view_cell('App\Cells\Blog::recentPosts', 'limit=5', 300) ?>
271271

272272
You can provide a custom name to use instead of the auto-generated one if you like, by passing the new name
273273
as the fourth parameter::
274274

275275
// Cache the view for 5 minutes
276-
<?= view_cell('\App\Libraries\Blog::recentPosts', 'limit=5', 300, 'newcacheid') ?>
276+
<?= view_cell('App\Cells\Blog::recentPosts', 'limit=5', 300, 'newcacheid') ?>

0 commit comments

Comments
 (0)