Skip to content

Conversation

@lukasleitsch
Copy link

If the relationship of a model don't follow the default Laravel naming the package can't identify the correct relationship. Therefore, the method identifiableName() is not working:

Issue: #270

The package allow in the config to define an own revision model. My idea is to define a custom revision model and extend the package model. In the custom model I would overwrite the getRelatedModel() to adjust the logic to find the correct relationship.

The PR changes the visibility of the method to allow an overwriting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant