forked from External/greenlight
Updated rubocop and fixed issues (#490)
This commit is contained in:
committed by
Jesus Federico
parent
bc57caa806
commit
a0c99dde47
@ -31,7 +31,7 @@ module RecordingsHelper
|
||||
len = valid_playbacks.first[:length]
|
||||
if len > 60
|
||||
"#{(len / 60).to_i} hrs #{len % 60} mins"
|
||||
elsif len == 0
|
||||
elsif len.zero?
|
||||
"< 1 min"
|
||||
else
|
||||
"#{len} min"
|
||||
|
Reference in New Issue
Block a user