日々の記録。

プログラミングのメモや感じた事などを記録。

rails link_toでget,post,deleteの指定

methodで指定する。(rails 3.2.3)

<%= link_to :logout, logout_path, method: :delete %>