Skip to content

Commit b7c2b86

Browse files
authored
Merge pull request #6 from OwenMelbz/master
fixed whitespace issue in controller stub
2 parents d76cf4f + 58c360d commit b7c2b86

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Console/stubs/crud-controller.stub

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php namespace DummyNamespace;
1+
<?php
2+
3+
namespace DummyNamespace;
24

35
use Backpack\CRUD\app\Http\Controllers\CrudController;
46

@@ -56,10 +58,10 @@ class DummyClassCrudController extends CrudController {
5658
// NOTE: you also need to do overwrite the showDetailsRow($id) method in your EntityCrudController to show whatever you'd like in the details row OR overwrite the views/backpack/crud/details_row.blade.php
5759

5860
// ------ AJAX TABLE VIEW
59-
// Please note the drawbacks of this though:
61+
// Please note the drawbacks of this though:
6062
// - 1-n and n-n columns are not searchable
6163
// - date and datetime columns won't be sortable anymore
62-
// $this->crud->enableAjaxTable();
64+
// $this->crud->enableAjaxTable();
6365

6466
// ------ ADVANCED QUERIES
6567
// $this->crud->addClause('active');

0 commit comments

Comments
 (0)