Answers for "how to give id to link in rails"

0

rails ink_to id

<%= link_to event, id: "an-id", class: "some-class" do  %>
  #bunch of stuff making up the partial.
<% end %>
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language