mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unused variable 'regex'
This commit is contained in:
parent
a8a673f2e4
commit
0732ea7136
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ module ActionView
|
|||
unless separator.empty?
|
||||
text.split(separator).each do |value|
|
||||
if value.match(regex)
|
||||
regex = phrase = value
|
||||
phrase = value
|
||||
break
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue