You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what my ProfileController.php file looks like:
<?php
namespace App\Http\Controllers;
use App\User;
use Inertia\Inertia;
use Illuminate\Http\Request;
class ProfileController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index()
{
return Inertia::render('Profile/Index');
}
}
The text was updated successfully, but these errors were encountered:
When I use route groups in my
web.php
file it sometimes breaks my app.For example I tried to do this and my entire app showed a blank screen (although the login screens seem to work)
However, when I take my routes out of groups, like this everything works perfectly fine.
This is what my
ProfileController.php
file looks like:The text was updated successfully, but these errors were encountered: