2011-10-13 36 views

回答

3

使用:anchor鍵:

<%= link_to "Start", start_path(:id => 1, :box => 1, :anchor => 'box_1') 

並回答你的第一個問題,是的,idbox是參數。它們作爲params散列的一部分傳入請求。