You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class MirrorProjectChannel < ApplicationCable::Channel
- def subscribed
- Rails.logger.info "################### channel params: #{params}"
- stream_from "channel_room_#{params[:id]}"
- end
-
- def unsubscribed
- # Any cleanup needed when channel is unsubscribed
- Rails.logger.info "################### unsubscribed ################### "
- end
- end
|