Skip to content

Commit d7cb702

Browse files
committed
Merge pull request #175 from awakia/master
Fix bug of annotate position in routes
2 parents ed327d5 + 1b42277 commit d7cb702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/annotate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ OptionParser.new do |opts|
6363

6464
opts.on('--pr', '--position-in-routes [before|after]', ['before', 'after'],
6565
"Place the annotations at the top (before) or the bottom (after) of the routes.rb file") do |p|
66-
ENV['position_in_test'] = p
66+
ENV['position_in_routes'] = p
6767
has_set_position['position_in_routes'] = true
6868
end
6969

0 commit comments

Comments
 (0)