虽然页面刷新并且网址已更改,但页面具有相同的视图。 laravel 5.2

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 ?

It would have been better if you posted your complete home controller.

If you are getting the same home page contents for all urls. You might not have enabled the nginx/apache rewriting properly.