Reputation: 133
I want to redirect to a specific part of a page which has a specific id when using redirect(controller/view). Can you guys help me.
Upvotes: 1
Views: 520
Reputation: 404
You can use #id_of_element with the URL you are constructing.
redirect('controller/view#id_of_your_html_element');
this will load the page to the specific location
Upvotes: 3