fix on better routes

This commit is contained in:
Ludovic CANDELLIER
2022-11-24 17:41:57 +01:00
parent ee1511962b
commit 966e687509
8 changed files with 15 additions and 21 deletions

View File

@@ -9,6 +9,6 @@
<p class="mt-3">
Vous n'avez pas encore de compte ?
<a href="{{ route('register') }}" class="text-center">{{ __('Inscrivez-vous') }}</a>
<a href="{{ route('Shop.register') }}" class="text-center">{{ __('Inscrivez-vous') }}</a>
</p>
@endsection

View File

@@ -1,4 +1,4 @@
{!! Form::open(['route' => 'login.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
{!! Form::open(['route' => 'Shop.login.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
<div class="form-group has-feedback">
<div class="input-group form-group {{ $errors->has('email') ? 'has-error' : '' }}">
@@ -28,7 +28,7 @@
</div>
<div class="col-12 col-lg-6">
<a href="{{ route('password.request') }}">{{ __('Mot de passe oublié ?') }}</a><br>
<a href="{{ route('Shop.password.request') }}">{{ __('Mot de passe oublié ?') }}</a><br>
<!--
<div class="checkbox icheck">
<label style="padding-left: 0">

View File

@@ -1,4 +1,4 @@
{!! Form::open(['route' => 'password.email', 'method' => 'post', 'autocomplete'=> 'off']) !!}
{!! Form::open(['route' => 'Shop.password.email', 'method' => 'post', 'autocomplete'=> 'off']) !!}
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
{{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
{!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
@@ -13,4 +13,4 @@
</div>
</div>
{!! Form::close() !!}
<a href="{{ route('login') }}">{{ __('boilerplate::auth.password.login_link') }}</a><br>
<a href="{{ route('Shop.login') }}">{{ __('boilerplate::auth.password.login_link') }}</a><br>

View File

@@ -1,4 +1,4 @@
{!! Form::open(['route' => 'register.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
{!! Form::open(['route' => 'Shop.register.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
<div class="row">
<div class="col-12">
<x-card title='Créez votre compte' class='mt-3 mb-3'>

View File

@@ -15,7 +15,7 @@
@endif
{{ __('Before proceeding, please check your email for a verification link.') }}
{{ __('If you did not receive the email') }}, <a href="{{ route('verification.resend') }}">{{ __('click here to request another') }}</a>.
{{ __('If you did not receive the email') }}, <a href="{{ route('Shop.verification.resend') }}">{{ __('click here to request another') }}</a>.
</div>
</div>
</div>

View File

@@ -27,12 +27,12 @@
</li>
@else
<li class="dropdown-item">
<a href="{{ route('login') }}" title="Identifiez-vous" rel="nofollow">
<a href="{{ route('Shop.login') }}" title="Identifiez-vous" rel="nofollow">
<span>Connexion</span>
</a>
</li>
<li class="dropdown-item">
<a href="{{ route('register') }}" title="Enregistrez-vous" rel="nofollow">
<a href="{{ route('Shop.register') }}" title="Enregistrez-vous" rel="nofollow">
<span>Creer votre compte</span>
</a>
</li>