glorand/laravel-model-settings

[Bug] Cache key on table with primary not named id

Closed this issue · 0 comments

As the cache key is build directly by retrieving the ->id on the model, it cache doesn't work if the primary key has a different name.

I'll submit a pull request to fix the issue soon.