Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Like by another model #45

Open
IslamHeza opened this issue Jan 5, 2023 · 1 comment
Open

Like by another model #45

IslamHeza opened this issue Jan 5, 2023 · 1 comment

Comments

@IslamHeza
Copy link

Hello
Is there any way to like an article by another model instead of user.
thanks .

@rtconner
Copy link
Owner

rtconner commented Jan 5, 2023

Not without some changed to this library.

We would probably have to make a few of the hardcoded "user_id" strings configurable to a different model.
https://github.com/rtconner/laravel-likeable/search?q=user

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

No branches or pull requests

2 participants