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
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 %>
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs