-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify checks to include ActiveStorage modules in controllers
ActiveStorage disk service needs current host to be correctly set by ActiveStorage:SetCurrent concern. The concern should be included in base controllers only if is defined, there's non need to check if we are currently using ActiveStorage based attachment adapters. This way we avoid loading uneccessary modules during initialization process that could potentially conflict with custom attachment adapters.
- Loading branch information
1 parent
8b72292
commit 270cd53
Showing
3 changed files
with
2 additions
and
8 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