AshAdmin not working with umbrella and Phoenix 1.7.0-rc.2

I'm not sure if it is that my project is separated in a umbrella (with phoenix in one app and the resources in another) or if it is just that I'm using Phoenix 1.7.0-rc.2, but when I access the AshAdmin route, I get a blank page and no error in the terminal (see image) I just added it using the AshAdmin readme steps. I also had to add phoenix_view to my deps since AshAdmin requires it but Phoenix 1.7 doesn't have it anymore. I also have all my ash_apis in both apps configs. Any ideas?
No description
3 Replies
ZachDaniel
ZachDaniel3y ago
Each api needs to have
admin do
show? true
end
admin do
show? true
end
Blibs
BlibsOP3y ago
Each Api or each resource? I added that to all the resources that I wanted to be visible in ash admin Ah, I'm dumb, you are correct, I didn't notice that I should've added that to the Api, not the Resource. Not sure if it is possible or easy, but it would be cool if the extension would throw an error in case it is used in a resource instead of an Api
ZachDaniel
ZachDaniel3y ago
That is a good point, we can definitely do that. Could you open an issue on ash_admin suggesting that?

Did you find this page helpful?