rubocop files update and auto correction
This commit is contained in:
parent
1a62dc930e
commit
1f82fbbdc6
88 changed files with 519 additions and 452 deletions
|
|
@ -38,7 +38,7 @@ class Ticket < ActiveRecord::Base
|
|||
tickets.each do |ticket|
|
||||
price = ticket.total_price(user)
|
||||
if result
|
||||
result += price unless price.zero?
|
||||
result += price unless price.zero?
|
||||
else
|
||||
result = price
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue