Skip to content

Commit

Permalink
Update screens.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored Jan 8, 2025
1 parent c7bd66d commit c5ce14e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/ru/docs/screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ GET|POST | dashboard/idea/{method?} | platform.idea
use App\Orchid\Screens\Idea;
use App\Orchid\Screens\IdeaEdit;

Route::screen('/idea/edit', IdeaEdit::class)->name('platform.idea.edit');
Route::screen('/idea', Idea::class)->name('platform.idea');
Route::screen('/idea/edit', IdeaEdit::class)
->name('platform.idea.edit');

Route::screen('/idea', Idea::class)
->name('platform.idea');
```
> **Обратите внимание**, Routing Laravel выбирает первый подходящий маршрут.
Expand Down

0 comments on commit c5ce14e

Please sign in to comment.