Commit 1b422772 by Naoyoshi Aikawa

Fix bug of annotate position in routes

parent ed327d5a
...@@ -63,7 +63,7 @@ OptionParser.new do |opts| ...@@ -63,7 +63,7 @@ OptionParser.new do |opts|
opts.on('--pr', '--position-in-routes [before|after]', ['before', 'after'], opts.on('--pr', '--position-in-routes [before|after]', ['before', 'after'],
"Place the annotations at the top (before) or the bottom (after) of the routes.rb file") do |p| "Place the annotations at the top (before) or the bottom (after) of the routes.rb file") do |p|
ENV['position_in_test'] = p ENV['position_in_routes'] = p
has_set_position['position_in_routes'] = true has_set_position['position_in_routes'] = true
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment