elieandraos's avatar

Where is the best place to put upload image logic?

So in my app, i have at least 4 or 5 image uploads for different models. what is the best way to do this ? I don't want to keep the upload logic in the controller. should i create a class and inject it in my ctrlr ? or maybe a model observer...

0 likes
1 reply

Please or to participate in this conversation.