|
@@ -55,7 +55,7 @@ |
|
|
block discarded – undo |
|
55
|
55
|
if ($this->cacheConfig && $this->cacheConfig == 'cache') |
|
56
|
56
|
{ |
|
57
|
57
|
$page = \Request::get('page') ?? '1'; |
|
58
|
|
- $cacheKey = $name . $page . \Session::get('locale') . serialize($arguments); |
|
|
58
|
+ $cacheKey = $name.$page.\Session::get('locale').serialize($arguments); |
|
59
|
59
|
return $this->cache->tags([$this->model])->rememberForever($cacheKey, function() use ($arguments, $name) { |
|
60
|
60
|
return call_user_func_array([$this->repo, $name], $arguments); |
|
61
|
61
|
}); |
Please login to merge, or discard this patch.