Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autoload issue with ImpressionistController
Instead of depending on autoload to bring in the `ImpressionistController` constant, we manually bring it with a call to `require` and just move that file to `lib`. Prior to this, Rails would emit a warning on startup about needing to use autoload durning an initializer like this, letting us know that a future version of Rails will error from this. This should hopefully remove that error and still allow these controller mixins to be available. Co-authored-by: stefannibrasil <[email protected]>
- Loading branch information