Skip to content

Commit 0dd8cad

Browse files
committed
Fix Rubocop offenses
1 parent 62ed160 commit 0dd8cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/route_translator/translator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def translate_path(path, locale, scope)
7373
end
7474

7575

76-
FINAL_OPTIONAL_SEGMENTS = %r{(\([^\/]+\))$}
76+
FINAL_OPTIONAL_SEGMENTS = %r{(\([^/]+\))$}
7777
private_constant :FINAL_OPTIONAL_SEGMENTS
7878

7979
JOINED_SEGMENTS = %r{/\(/}

0 commit comments

Comments
 (0)