Skip to content

Commit 2f0cb8c

Browse files
danielricecodesdrwl
authored andcommitted
Add ActiveAdmin option to template (ctran#693)
ActiveAdmin defaults to false. Add `active_admin` option so people using this gem can more easily enable annotating files in `app/admin`.
1 parent d84c526 commit 2f0cb8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/generators/annotate/templates/auto_annotate_models.rake

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if Rails.env.development?
77
# You can override any of these by setting an environment variable of the
88
# same name.
99
Annotate.set_defaults(
10+
'active_admin' => 'false',
1011
'additional_file_patterns' => [],
1112
'routes' => 'false',
1213
'models' => 'true',

0 commit comments

Comments
 (0)