瀏覽代碼

Add graphql concerns to autoload path

Andrew Swistak 6 年之前
父節點
當前提交
41a60a82f3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/application.rb

+ 1 - 1
config/application.rb

@@ -17,6 +17,6 @@ module PokemonTrade
     # Application configuration can go into files in config/initializers
     # -- all .rb files in that directory are automatically loaded after loading
     # the framework and any gems in your application.
-    config.autoload_paths.push("#{config.root}/app/services")
+    config.autoload_paths.push("#{config.root}/app/services", "#{config.root}/app/graphql/mutations/concerns")
   end
 end