I have a html page with a script, It looks like
<html>
</html>
<script>
<script>
The page needs to run this script to display the content correctly.
But when I redirect to this page with following code:
redirect_to user_trips_path(params[:user_id])
I noticed that it will not refresh the page. If I refresh the page manually it will display the content correctly.
My question is how to make this automatic?
I try to google this question.