print_channel with shop_code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class PrintChannel < ApplicationCable::Channel
|
||||
def subscribed
|
||||
stream_from "print_channel"
|
||||
stream_from "print_channel_#{params[:shop_code]}"
|
||||
end
|
||||
|
||||
def unsubscribed
|
||||
|
||||
Reference in New Issue
Block a user