-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- **Renamed domains_in_content to domains_in_context:** The attribute…
… name was updated to better reflect its purpose and align with Laravel conventions. - **Added `empty()` for `domains_in_context` check:** A check was added to the `linkClicked` function to handle cases where the `domains_in_context` attribute is empty. This ensures backward compatibility and prevents potential errors. - **Updated tests:** The test suite was updated to include a new test verifying redirection behavior for links with invalid domains.
- Loading branch information
1 parent
8c706bf
commit 227b2d2
Showing
3 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters