mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 05:30:48 +08:00
DEV: Automatically annotate plugin models alongside core models
This commit is contained in:
@ -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",
|
||||
'model_dir' => ["app/models"] + Dir.glob("plugins/**/app/models"),
|
||||
'include_version' => "false",
|
||||
'require' => "",
|
||||
'exclude_tests' => "true",
|
||||
|
Reference in New Issue
Block a user