This repository was archived by the owner on Jul 22, 2024. It is now read-only.
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5
5
This project adheres to [ Semantic Versioning] ( CONTRIBUTING.md ) .
6
6
7
7
8
+ ## [ v7.3.1] - 2023-08-30
9
+ - Support new accessarea file-based structure
10
+
8
11
## [ v7.3.0] - 2023-08-28
9
12
- Support multiple themes
10
13
- Remove ` /vendor ` from namespaced view paths to simplify the path
@@ -320,6 +323,7 @@ This project adheres to [Semantic Versioning](CONTRIBUTING.md).
320
323
## v0.0.1 - 2016-12-20
321
324
- Tag first release
322
325
326
+ [ v7.3.1 ] : https://github.com/rinvex/laravel-support/compare/v7.3.0...v7.3.1
323
327
[ v7.3.0 ] : https://github.com/rinvex/laravel-support/compare/v7.2.6...v7.3.0
324
328
[ v7.2.6 ] : https://github.com/rinvex/laravel-support/compare/v7.2.5...v7.2.6
325
329
[ v7.2.5 ] : https://github.com/rinvex/laravel-support/compare/v7.2.4...v7.2.5
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function unhashId($value)
58
58
*/
59
59
protected function shouldBeHashed (): bool
60
60
{
61
- $ accessareas = ( array ) $ this ->obscure + app ('accessareas ' )->where ( ' is_obscured ' , true )->pluck ( ' slug ' )->toArray ();
61
+ $ accessareas = app ( ' accessareas ' )-> active ()-> obscured ()-> keys ()-> when ( $ this ->obscure , fn ( $ collection ) => $ collection -> merge ( collect ( $ this -> obscure )-> intersect ( app ('accessareas ' )->active ( )->keys ()))-> unique () )->toArray ();
62
62
63
63
return in_array (request ()->accessarea (), $ accessareas ) && in_array ($ this ->getRouteKeyName (), config ('cortex.foundation.obscure.hashed_keys ' ));
64
64
}
You can’t perform that action at this time.
0 commit comments