avo icon indicating copy to clipboard operation
avo copied to clipboard

Warn developer if they override one of Avo's controllers

Open adrianthedev opened this issue 1 year ago • 2 comments

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

adrianthedev avatar Dec 18 '23 11:12 adrianthedev

Related to https://github.com/avo-hq/avo/issues/2437

Paul-Bob avatar Feb 13 '24 08:02 Paul-Bob

Yes. :| Let's prioritize this sometime.

adrianthedev avatar Feb 13 '24 19:02 adrianthedev