Skip to content

Commit

Permalink
Update user.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bbcc33 authored Jan 18, 2025
1 parent a0a0e93 commit 048fd98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@ def confirmed_bookings

def bookings
Booking.joins(:order).where(orders: { user_id: id })

end
end

0 comments on commit 048fd98

Please sign in to comment.