Skip to content

Commit 1fcfa2d

Browse files
authored
Update apiSupport.md
1 parent e5b3111 commit 1fcfa2d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Resources/doc/apiSupport.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Konfiguracja pochodzi z [Przykład wykorzystania](baseExample.md) zmieni się ty
2222
namespace AppBundle\Controller;
2323

2424
use AppBundle\Grid\ExampleGrid;
25-
use AppBundle\Grid\ExampleAnotherGrid;
2625
use Makoso\DatagridBundle\Grid\Grid;
2726
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
2827
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
@@ -34,10 +33,10 @@ class DefaultController extends Controller
3433
*/
3534
public function indexAction(Grid $grid)
3635
{
37-
return $grid->configure(new VirtualEntityGrid())->getJsonResponse();
36+
return $grid->configure(new ExampleGrid())->getJsonResponse();
3837
}
3938
}
4039

4140
```
4241

43-
Gotowe!
42+
Gotowe!

0 commit comments

Comments
 (0)