Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
2f0cb8cb
Commit
2f0cb8cb
authored
5 years ago
by
Daniel Rice
Committed by
Andrew W. Lee
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ActiveAdmin option to template (#693)
ActiveAdmin defaults to false. Add `active_admin` option so people using this gem can more easily enable annotating files in `app/admin`.
parent
d84c5265
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
auto_annotate_models.rake
lib/generators/annotate/templates/auto_annotate_models.rake
+1
-0
No files found.
lib/generators/annotate/templates/auto_annotate_models.rake
View file @
2f0cb8cb
...
@@ -7,6 +7,7 @@ if Rails.env.development?
...
@@ -7,6 +7,7 @@ if Rails.env.development?
# You can override any of these by setting an environment variable of the
# You can override any of these by setting an environment variable of the
# same name.
# same name.
Annotate
.
set_defaults
(
Annotate
.
set_defaults
(
'active_admin'
=>
'false'
,
'additional_file_patterns'
=>
[],
'additional_file_patterns'
=>
[],
'routes'
=>
'false'
,
'routes'
=>
'false'
,
'models'
=>
'true'
,
'models'
=>
'true'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment