title: Append the new url with old Laravel 5.4
body: <p>I am new to laravel 5.4<br>
  My problem is i have to append the new url with existing one.  </p>
  
  <p>For example if browser has url "<a href="http://localhost/manager/public/file/5" rel="nofollow noreferrer">http://localhost/manager/public/file/5</a>" then on click of button the new url should be <a href="http://localhost/manager/public/file/5/employee" rel="nofollow noreferrer">http://localhost/manager/public/file/5/employee</a>.  </p>
  
  <p>I have achieved this with "Route::get('/file/{bId}/employee','EmployeeController@som');"<br>
  and it works fine if i manually hit url in browser.</p>
  
  <p>Problem is I am using url('employee') which generates url "<a href="http://localhost/manager/public/employee" rel="nofollow noreferrer">http://localhost/manager/public/employee</a>".</p>