home.blad.php
@foreach($profiles as $profile)
@if(Auth::user()->email == $profile->email && Auth::user())
<a href="{{ url('write') }}" class="write">WRITE</a>
@endif
@endforeach
routes.php
Route::get('write', 'HomeController@write');
HomeController.php
public function write()
{
return view('write');
}
write.blade.php has no content. when I click this link page seem to be changed ,but page doesn't change. just url is changed . how can I redirect write.blade.php ?