change query for credit payment and add sound effect for ordering

This commit is contained in:
phyusin
2018-08-02 11:53:29 +06:30
parent 01783c2707
commit 186bc090df
13 changed files with 185 additions and 43 deletions

View File

@@ -0,0 +1,10 @@
class SoundEffectChannel < ApplicationCable::Channel
def subscribed
stream_from "sound_effect_channel"
end
def unsubscribed
stop_all_streams
# Any cleanup needed when channel is unsubscribed
end
end