wonderful-oil-45883
04/24/2024, 11:18 AMpay
gem for my client and they want the details in the admin dashboard as well.
I've created a Avo::Resources::Pay::Customer
resource and defined self.model_class = Pay::Customer
... this still expects a Avo::CustomersController
though.
Is there any way to manually define which controller a resource should use?loud-jewelry-99127
04/24/2024, 1:44 PMrails g avo:resource pay_customer --model_class="Pay::Customer"
loud-jewelry-99127
04/24/2024, 1:44 PMloud-jewelry-99127
04/24/2024, 1:45 PMself.model_class = ::Pay::Customer
model to the fresh generated resourceloud-jewelry-99127
04/24/2024, 1:46 PMwonderful-oil-45883
04/25/2024, 3:06 PM