Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [Unreleased]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...master

### Fixed
* Add middleware after load_config_initializers [PR 62](https://github.com/shakacode/cypress-on-rails/pull/62) by [duytd](https://github.com/duytd)

## [1.6.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.1...v1.6.0

Expand Down
2 changes: 1 addition & 1 deletion lib/cypress_on_rails/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module CypressOnRails
class Railtie < Rails::Railtie
initializer :setup_cypress_middleware do |app|
initializer :setup_cypress_middleware, after: :load_config_initializers do |app|
if CypressOnRails.configuration.use_middleware?
app.middleware.use Middleware
end
Expand Down