debian-mirror-gitlab/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

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
module ApplicationCable
class Channel < ActionCable::Channel::Base
2020-06-23 00:09:42 +05:30
include Logging
private
def notification_payload(_)
super.merge!(params: params.except(:channel))
end
def request
connection.request
end
2020-05-24 23:13:21 +05:30
end
end