Skip to content

Commit a17b924

Browse files
committed
fix: update navigation and redirect to dashboard
1 parent 6c5d880 commit a17b924

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stubs/app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ public function store(Request $request)
4545

4646
event(new Registered($user));
4747

48-
return redirect('home');
48+
return redirect('dashboard');
4949
}
5050
}

stubs/resources/Tailwind/views/layouts/navigation.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<div class="flex">
66
<!-- Logo -->
77
<div class="flex items-center flex-shrink-0">
8-
<a href="{{ route('home') }}">
8+
<a href="{{ route('dashboard') }}">
99
<x-application-logo class="block w-auto h-10 text-gray-600 fill-current" />
1010
</a>
1111
</div>
1212

1313
<!-- Navigation Links -->
1414
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
15-
<a href="{{ route('home') }}"
16-
class="{{ request()->routeIs('home') ? 'border-indigo-400 text-gray-900 focus:border-indigo-700' : 'border-transparent hover:border-gray-300 focus:text-gray-700 focus:border-gray-300' }} inline-flex items-center px-1 pt-1 border-b-2 focus:outline-none">
15+
<a href="{{ route('dashboard') }}"
16+
class="{{ request()->routeIs('dashboard') ? 'border-indigo-400 text-gray-900 focus:border-indigo-700' : 'border-transparent hover:border-gray-300 focus:text-gray-700 focus:border-gray-300' }} inline-flex items-center px-1 pt-1 border-b-2 focus:outline-none">
1717
{{ __('Dashboard') }}
1818
</a>
1919
</div>

0 commit comments

Comments
 (0)