Skip to content

Commit

Permalink
Remove hard coded routes and use Route() helper by name instead (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanLJ authored Sep 15, 2020
1 parent 41d7f8a commit e3eca22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/resources/views/auth/verify-email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@endif

<div class="mt-4 flex items-center justify-between">
<form method="POST" action="/email/verification-notification">
<form method="POST" action="{{ route('verification.send') }}">
@csrf

<div>
Expand All @@ -25,7 +25,7 @@
</div>
</form>

<form method="POST" action="/logout">
<form method="POST" action="{{ route('logout') }}">
@csrf

<button type="submit" class="underline text-sm text-gray-600 hover:text-gray-900">
Expand Down

0 comments on commit e3eca22

Please sign in to comment.