mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
fix: Support LV 0.15 (#73)
This commit is contained in:
parent
1ab52551b5
commit
0ed138ab20
1 changed files with 4 additions and 0 deletions
|
@ -600,6 +600,10 @@ defmodule AshPhoenix.LiveView do
|
|||
Phoenix.LiveView.assign(socket, one, two)
|
||||
end
|
||||
end
|
||||
{:error, :nofile} ->
|
||||
defp assign(%Phoenix.LiveView.Socket{} = socket, one, two) do
|
||||
Phoenix.LiveView.assign(socket, one, two)
|
||||
end
|
||||
end
|
||||
|
||||
defp assign(socket, one, two) do
|
||||
|
|
Loading…
Reference in a new issue