I am learning webdevelopment. For now the root address of my website is extended like www.mywebsite.com/project2/project2/public. There is a hypenrlink from one page to a route:
<a href="/movetocomplete/{{$object->id}}">{{$object->name}}</a>
If the href is left as above, there is a 404 error saying that there is nothing at
www.mywebsite.com/movetocomplete/id#.
But if the href is
project2/project2/public/movetocomplete/{{$object->id}},
there is a 404 error saying there is nothing at
www.mywebsite.com/project2/project2/public/project2/project2/publicmovetocomplete/id#.
The route is
Route::get('/movetocomplete/{object}', 'UserController@movetocomplete');