Closed
Description
Unable to annotate_routes
at the bottom of the file. This is working for models
as expected.
Commands
$ rails annotate_routes
Configuration
if Rails.env.development?
require 'annotate'
task :set_annotation_options do
# You can override any of these by setting an environment variable of the
# same name.
Annotate.set_defaults(
'active_admin' => 'false',
'additional_file_patterns' => [],
'routes' => 'true',
'models' => 'true',
'position_in_routes' => 'after',
'position_in_class' => 'after',
'position_in_test' => 'after',
'position_in_fixture' => 'after',
'position_in_factory' => 'after',
Versions
- 3.1.0
- 6.0.2.1
- 2.6.5
Metadata
Metadata
Assignees
Labels
No labels