openstreetmap as link

Hi,
I am using openlayers gem to show a openstreetmap as div in a a rails app
how can I make this div as a link to an other page in the rails app using link_to tag

regards

<%= link_to('my_link') do %>
  <div>OPEN STREETMAP CONTENT</div>
<% end %>

You can put a div inside of the generated by link_to and this will work for you but putting block elements inside of is not really good practice. Instead you could try instead of