class DashboardController extends Controller (View source)

Controller for CP dashboard.

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Methods

index()

No description

widget(int $id)

Render a widget by its position in the widget configuration.

Details

index()

No description

widget(int $id)

Render a widget by its position in the widget configuration.

This is used for lazily-loaded widgets. Instead of rendering these widgets straight into the dashboard view, they are lazily-loaded in a Turbo Frame pointing to this route.

Parameters

int $id