Answers for "rails link to"

2

rails link_to class

<%= link_to "Get More Books", books_path, class: "index-link" %>
Posted by: Guest on November-22-2020
2

link to do rails

<%= link_to books_path do %>
  <%= image_tag "Book Collection" %>
<% end %>
Posted by: Guest on November-24-2020
1

rails link to

<%= link_to "Improve Your Ruby Skills", book_path(@book) %>
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language