Hello, beginner/intermediate here. I would like to add an independent model "blog_articles" to the admin pannel. Do you have a resource I can use to do this? Thanks a lot!
✅ 1
j
Jared Norman
11/03/2022, 2:53 PM
This doesn't lay it out exactly, but includes instructions for a few things you'll need to do: https://guides.solidus.io/customization/customizing-the-backend
Broadly speaking, you create your model, create a controller for your model (probably subclassing
Spree::Admin::ResourceController
) and add the routes.
w
waiting_for_dev
11/03/2022, 3:09 PM
☝️ @Hugo F feel free to get back with whatever problem you might find in the process
h
Hugo F
11/03/2022, 4:46 PM
Thank you for your answer, i'll keep you informed if i need help 😀
c
Cody Baldwin
11/03/2022, 10:36 PM
I'm also intermediate level, learning a lot as I go, but I thought maybe my snippets would be helpful so I did a super quick write-up.
https://cozyorb.com/posts/4
I only spent, like, 15-20 minutes and haven't copy edited it, so hopefully it coherent. lol
(Actually just noticed the the code snippets are basically unreadable, sorry if you view it before I fix this, heh)