Skip to content

Commit b9652ac

Browse files
mcelicalderonDavid Revelo
andauthored
Move zeitwerk loading order (#220)
* Move zeitwerk loading order * Place zeitwerk loader before module definition Co-authored-by: David Revelo <david@aperturaradical.org>
1 parent c1f730d commit b9652ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/graphql_devise.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
loader.setup
2222

23-
ActionDispatch::Routing::Mapper.include(GraphqlDevise::RouteMounter)
24-
2523
module GraphqlDevise
2624
class Error < StandardError; end
2725

@@ -70,4 +68,6 @@ def self.configure_warden_serializer_for_model(model)
7068
end
7169
end
7270

71+
ActionDispatch::Routing::Mapper.include(GraphqlDevise::RouteMounter)
72+
7373
require 'graphql_devise/engine'

0 commit comments

Comments
 (0)