Skip to content

Instantly share code, notes, and snippets.

@jeffandersen
Created December 13, 2018 15:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jeffandersen/f1cfd915d5815e0520a5d0da99f90ec2 to your computer and use it in GitHub Desktop.
<!-- resources/views/tasks.blade.php -->
<!-- ... -->
<table class="table table-striped">
@foreach ($tasks as $task)
<tr>
<!-- Task Name -->
@cache('task.name', ['task' => $task], null, $task->id)
<!-- Delete Button -->
<!-- ... -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment