I am trying to check the profile profile of the update profile, according to which the check should check that the letter does not exist yet, but do not pay attention to whether existing users remain.
However, this continues to return a "This letter has already been received" verification error message.
I'm really not sure where I am going wrong. Otherwise, the update form works and updates perfectly.
HTML
{{ Form::text('email', Input::old('email', $user->email), array('id' => 'email', 'placeholder' => 'email', 'class' => 'form-control')) }}
Route
Route::post('users/edit/{user}', array('before' => 'admin', 'uses' => ' UserController@update '));
User model
'email' => 'unique:users,email,{{{ $id }}}'
source share