mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
fix filter patch route
This commit is contained in:
parent
3b18428215
commit
723b5ec04b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ h1
|
|||
strong Your current filter
|
||||
- else
|
||||
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
|
||||
li
|
||||
|
|
Loading…
Reference in a new issue