-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5317 from Laravel-Backpack/columns-link-to
[Feature Request] link() helper on CrudColumn
- Loading branch information
Showing
8 changed files
with
254 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
namespace Backpack\CRUD\Tests\Config\Http\Controllers; | ||
|
||
use Backpack\CRUD\app\Http\Controllers\CrudController; | ||
use Backpack\CRUD\Tests\config\Models\Article; | ||
|
||
class ArticleCrudController extends CrudController | ||
{ | ||
use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation; | ||
use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation; | ||
use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation; | ||
use \Backpack\CRUD\app\Http\Controllers\Operations\ShowOperation; | ||
|
||
public function setup() | ||
{ | ||
$this->crud->setModel(Article::class); | ||
$this->crud->setRoute('articles'); | ||
} | ||
|
||
public function setupUpdateOperation() | ||
{ | ||
} | ||
|
||
protected function create() | ||
{ | ||
return response('create'); | ||
} | ||
|
||
protected function detail() | ||
{ | ||
return response('detail'); | ||
} | ||
} |
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