Removed empty? check on number_generate().
This commit is contained in:
parent
00c12e4346
commit
c33985ddaa
1 changed files with 0 additions and 1 deletions
|
@ -403,7 +403,6 @@ class Ticket < ApplicationModel
|
|||
|
||||
def number_generate
|
||||
return if self.number
|
||||
return if !self.number.empty?
|
||||
|
||||
# generate number
|
||||
(1..25_000).each do |i|
|
||||
|
|
Loading…
Reference in a new issue