Second question do ResourceTools have a
# avo-2
a
Second question, do ResourceTools have a controller?
l
no, they don't
what would you like to achieve?
a
oh, I was using a regular Tool to develop a stimulus controller for a javascript library. Now that it works, I wanted to integrate it to the Resource page because it's a custom editor for one field on that resource. I had some basic setup stuff going on in the Rails controller, but I can easily move it somewhere else, so no big deal that there's no controller.
l
you have the tool class where you can move that
here we define the
images
method
a
yeah, that's what I figured
l
that's good right?
a
yes
l
perf!
a
back to 'do things in Avo with the Avo Way' 🙂
vs cobbling together something more fragile