diff --git a/lib/ash_admin/pages/page_live.ex b/lib/ash_admin/pages/page_live.ex index 6b78324..7d3f6b1 100644 --- a/lib/ash_admin/pages/page_live.ex +++ b/lib/ash_admin/pages/page_live.ex @@ -284,17 +284,6 @@ defmodule AshAdmin.PageLive do |> assign(:params, params)} end - defmodule YourAdminApi do - api Api do - resource Resource do - actions([:foo, :bar, :baz]) - custom_pages([...]) - end - - custom_pages([...]) - end - end - defp to_one_relationships(resource, api) do resource |> Ash.Resource.Info.relationships()