I have a route which redirects to a controller which tells view to show. But how can I go to a particular part of the page. Let me Explain:
I am using fullpage.js library to create a page breakpoints. for example: /home#firstPage
, /home#secondPage
and so on. When I am redirected to /home I would like to go to a particular section of the page. All I need is a way to enter #3rdPage in url.
Where and How do I put this to see it action?
my Routes
Route::get('/home_done', ['as' => 'home_done','uses' => 'HomeController@home']);
my Controller
public function home()
{
return view('home_done');
}
I would like to do something like:
return view('home_done#3rdPage');
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kMiWFM
via IFTTT
Aucun commentaire:
Enregistrer un commentaire