orchidsoftware / crud

Simplify the process of building CRUD (Create, Read, Update, Delete) functionality in Laravel using the features of Orchid.
https://orchid.software
MIT License
137 stars 34 forks source link

CRUD route шт Dashboard Routes #95

Open RuLeiFei opened 11 months ago

RuLeiFei commented 11 months ago

Unfortunately, I didn’t find a method in the documentation on how to make a link to a resource in Dashboard Routes. I want to put them in a drop-down menu.

m-pastuszek commented 7 months ago

Hey, I managed to do that with this:


Menu::make(OrderResource::label())
      ->route('platform.resource.list', [OrderResource::uriKey()])
      ->icon(OrderResource::icon())
      ->permission('some-permission'),