https://avo.cool logo
Hi everyone, Does anyone know if it's possible ...
# resources
n
Hi everyone, Does anyone know if it's possible to disable a link to another resource on the index page? On this image, people often click on one of the blogs intead of clicking on 1. https://cdn.discordapp.com/attachments/1141725701549072486/1436002489257164800/image.png?ex=697582c9&is=69743149&hm=763163543d175d593a7bd5f6ffdca1ee5e4dd11661ba48378a96c62ec82895ac&
m
Thread automatically created by Arthur in #1141725701549072486
l
Hi @nice-ambulance-76519 , you can't disable the link, but you can make it point to the row record instead of the blog using the
link_to_record
option:
field :blog, as: :belongs_to, link_to_record: true