Skip to content

Estadisticas --> estadistica para la ruta#40

Merged
PiruloDev merged 1 commit intoproduccionfrom
desarrollo
Mar 25, 2026
Merged

Estadisticas --> estadistica para la ruta#40
PiruloDev merged 1 commit intoproduccionfrom
desarrollo

Conversation

@PiruloDev
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 25, 2026 23:15
@PiruloDev PiruloDev merged commit ec5d845 into produccion Mar 25, 2026
1 check passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the EstadisticasController to render a differently-cased Blade view name for the estadísticas index route.

Changes:

  • Changed the view reference from Estadisticas.index to estadisticas.index.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

$usuariosRegistrados = $this->usuariosRegistradosService->obtenerUsuariosRegistrados();

return view('Estadisticas.index', compact('productosMasVendidos', 'usuariosRegistrados'));
return view('estadisticas.index', compact('productosMasVendidos', 'usuariosRegistrados'));
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

view('estadisticas.index') does not match the actual Blade view location (resources/views/Estadisticas/index.blade.php). On case-sensitive filesystems (most Linux deploys/CI), this will result in a View [estadisticas.index] not found. error. Either keep the view reference as Estadisticas.index, or rename the resources/views/Estadisticas directory to resources/views/estadisticas (and update any other references) so the casing is consistent.

Suggested change
return view('estadisticas.index', compact('productosMasVendidos', 'usuariosRegistrados'));
return view('Estadisticas.index', compact('productosMasVendidos', 'usuariosRegistrados'));

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants