Hello I have a problem with Ajax. I have some method who returns link_to some_path, :anchor => "anchor" and replace content area on page.
At start a have this:
browser path => /help
<h1>Help</h1> <%= link_to "Downloads", download_page_path, :remote => true %>
I click link and got this:
browser path => /help
<h1>Download</h1> <a href="/download#anchor">link...</a>
But I want this:
browser path => /help
<h1>Download</h1> <a href="/help#anchor">link...</a> or <a href="#anchor">link...</a>
How can I do it?