debian-mirror-gitlab/app/channels/application_cable/channel.rb
2020-06-23 00:09:42 +05:30

17 lines
286 B
Ruby

# frozen_string_literal: true
module ApplicationCable
class Channel < ActionCable::Channel::Base
include Logging
private
def notification_payload(_)
super.merge!(params: params.except(:channel))
end
def request
connection.request
end
end
end