fix filter patch route

This commit is contained in:
byte[] 2019-11-16 00:11:24 -05:00
parent 3b18428215
commit 723b5ec04b

View file

@ -18,7 +18,7 @@ h1
strong Your current filter strong Your current filter
- else - else
li li
= button_to "Use this filter", Routes.filter_current_path(@conn, :update, @filter), method: "put", class: "button" = button_to "Use this filter", Routes.filter_current_path(@conn, :update, id: @filter), method: "put", class: "button"
= if can?(@conn, :edit, @filter) do = if can?(@conn, :edit, @filter) do
li li