-
-
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.
Always include ActiveStorage::SetCurrent in base controllers
ActiveStorage disk service needs current host to be correctly set by ActiveStorage:SetCurrent concern. The concern should always included in in controllers, there's non need to check if we are currently using ActiveStorage based attachment adapters since Solidus already loads ActivStorage by default. This way we avoid loading uneccessary modules during initialization process that could potentially conflict with custom attachment adapters.
- Loading branch information
1 parent
83ea392
commit 8e67e75
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