Closed adrianthedev closed 1 year ago
From here.
Most apps have a User model. When you install Avo in an existing app it should detect that and generate a User resource automatically.
User
Generate the resource manually.
Update the install generator to also run bin/rails generate avo:resource user.
install
bin/rails generate avo:resource user
Note that such resources do not always use the name User. For rodauth, it is Account by default.
That's a good point. Thanks! Maybe we could search for rodauth and Account as well and incorporate that too.
Account
Feature
From here.
Most apps have a
User
model. When you install Avo in an existing app it should detect that and generate aUser
resource automatically.Current workarounds
Generate the resource manually.
Approach
Update the
install
generator to also runbin/rails generate avo:resource user
.