Created
May 25, 2018 13:26
-
-
Save bishoyAtif/006c7b45a7e8687c59da31d618d5a9f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
->addColumn('actions', function($row){ | |
$editUrl = route('posts.edit', $row->id); | |
$deleteUrl = route('posts.destroy', $row->id); | |
return view('_formActions', compact('editUrl', 'deleteUrl')); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment