diff options
Diffstat (limited to 'lib/gitlab/graphql/loaders/full_path_model_loader.rb')
-rw-r--r-- | lib/gitlab/graphql/loaders/full_path_model_loader.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/graphql/loaders/full_path_model_loader.rb b/lib/gitlab/graphql/loaders/full_path_model_loader.rb index 0aa237c78de..26c1ce64a83 100644 --- a/lib/gitlab/graphql/loaders/full_path_model_loader.rb +++ b/lib/gitlab/graphql/loaders/full_path_model_loader.rb @@ -9,7 +9,8 @@ module Gitlab attr_reader :model_class, :full_path def initialize(model_class, full_path) - @model_class, @full_path = model_class, full_path + @model_class = model_class + @full_path = full_path end def find |