Created
May 25, 2018 13:04
-
-
Save bishoyAtif/2f0a9d9a6e3ec80791a7d85128b231c1 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('edit_url', function($row){ | |
return route('posts.edit', $row->id); | |
}) | |
->addColumn('delete_url', function($row){ | |
return route('posts.destroy', $row->id); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment