gitlab-org--gitlab-foss/app/channels/application_cable/channel.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
286 B
Ruby
Raw Normal View History

# 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