who know how to fix problem with refreshing web-page,
i have a controller welcome with index.rhtml and _page1.rhtml,
in index.rhtm i have a div with id=‘main-context’,
and i render :partial => ‘page1’ to this div
and i also have a link to render :partial => ‘page2’ with
the problem is when i click on link to page2, my div(id=‘main-conten’)
changed with text from _page2.rhtm(thats perfect) but when i pressed F5
to refresh browser i moved to index page and it’s render _page1.rhtml.
how can i change a part of web page(with partials) and posibility to
refresh web-page with last partial?