Skip to content

Commit

Permalink
minor #3538 litle bug (rogergerecke)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

litle bug

#3537

<!--
Thanks for your contribution! If you are proposing a new feature that is complex,
please open an issue first so we can discuss about it.

Note: all your contributions adhere implicitly to the MIT license
-->

Commits
-------

baa0c1e litle bug
  • Loading branch information
javiereguiluz committed Jul 13, 2020
2 parents 86fb6d3 + baa0c1e commit 64c1f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/crud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,14 @@ associated to. If you have more than one dashboard, you must also set the Dashbo
// if your application only contains one Dashboard, it's enough
// to define the controller related to this URL
$url = $this->crudUrlGenerator
->build()
->setController(ProductCrudController::class)
->setAction(Action::INDEX);

// in applications containing more than one Dashboard, you must also
// define the Dashboard associated to the URL
$url = $this->crudUrlGenerator
->build()
->setDashboard(DashboardController::class)
->setController(ProductCrudController::class)
->setAction(Action::INDEX);
Expand Down

0 comments on commit 64c1f52

Please sign in to comment.