Prefixの引数にキーと値を渡してあげるとよい
<%= link_to item_path(itemname: "りんご") %>
受け取り方以下の通り
params[:itemname]
Go to list of users who liked
More than 3 years have passed since last update.
Prefixの引数にキーと値を渡してあげるとよい
<%= link_to item_path(itemname: "りんご") %>
受け取り方以下の通り
params[:itemname]
Register as a new user and use Qiita more conveniently
Go to list of users who liked