There was an error while loading. Please reload this page.
1 parent 2213ece commit 3e3d605Copy full SHA for 3e3d605
lib/annotate/annotate_routes.rb
@@ -22,7 +22,7 @@
22
module AnnotateRoutes
23
PREFIX = '== Route Map'.freeze
24
PREFIX_MD = '## Route Map'.freeze
25
- HEADER_ROW = ['Prefix', 'Verb', 'URI Pattern', 'Controller#Action']
+ HEADER_ROW = ['Prefix', 'Verb', 'URI Pattern', 'Controller#Action'].freeze
26
27
MAGIC_COMMENT_MATCHER = Regexp.new(/(^#\s*encoding:.*)|(^# coding:.*)|(^# -\*- coding:.*)|(^# -\*- encoding\s?:.*)|(^#\s*frozen_string_literal:.+)|(^# -\*- frozen_string_literal\s*:.+-\*-)/).freeze
28
0 commit comments