Skip to content

Commit 0158677

Browse files
committed
Remove :resource_action from except lists
1 parent 43a2fb6 commit 0158677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/lib/demo_web/live/post_live.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ defmodule DemoWeb.PostLive do
110110
module: Backpex.Fields.Textarea,
111111
label: "Body",
112112
rows: 10,
113-
except: [:index, :resource_action],
113+
except: [:index],
114114
align_label: :center
115115
},
116116
published: %{
@@ -123,7 +123,7 @@ defmodule DemoWeb.PostLive do
123123
module: Backpex.Fields.Boolean,
124124
label: "Show likes",
125125
select: dynamic([post: p], fragment("? > 0", p.likes)),
126-
except: [:index, :resource_action, :show]
126+
except: [:index, :show]
127127
},
128128
likes: %{
129129
module: Backpex.Fields.Number,

0 commit comments

Comments
 (0)