We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ed160 commit 0dd8cadCopy full SHA for 0dd8cad
lib/route_translator/translator.rb
@@ -73,7 +73,7 @@ def translate_path(path, locale, scope)
73
end
74
75
76
- FINAL_OPTIONAL_SEGMENTS = %r{(\([^\/]+\))$}
+ FINAL_OPTIONAL_SEGMENTS = %r{(\([^/]+\))$}
77
private_constant :FINAL_OPTIONAL_SEGMENTS
78
79
JOINED_SEGMENTS = %r{/\(/}
0 commit comments