user(); // Redirect based on role or specific logic if ($user->role === 'admin') { // Your specific resource create path redirect('/photo-geo-data'); } else { // Redirect regular users to the list view redirect('/photo-geo-data/create'); } } }