2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

DEV: Allow annotations to work in symlinked plugins, add binstub (#13635)

This commit is contained in:
David Taylor 2021-07-05 15:43:10 +01:00 committed by GitHub
parent 04ec5439f3
commit 2955d64703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions

View file

@ -15,7 +15,7 @@ if (Rails.env.development? || Rails.env.test?)
'position_in_factory' => "before",
'show_indexes' => "true",
'simple_indexes' => "false",
'model_dir' => ["app/models"] + Dir.glob("plugins/**/app/models"),
'model_dir' => ["app/models"] + Dir.glob("plugins/*/app/models"),
'include_version' => "false",
'require' => "",
'exclude_tests' => "true",