avo
avo copied to clipboard
Warn developer if they override one of Avo's controllers
Creating for example AttachmentResource will generate the Avo::AttachmentsController overriding the app/controllers/avo/attachments_controller.rb
We should fail in the generator if the user is trying to override controllers that break the app. Also we should show how can they use another name for resource/controller for a specific model using --model_class attachment
Related to https://github.com/avo-hq/avo/issues/2437
Yes. :| Let's prioritize this sometime.