Skip to content

Commit

Permalink
Remove ActionCable::Channel::Base from base classes when setting cust…
Browse files Browse the repository at this point in the history
…om_payload

Remove ActionCable::Channel::Base from base classes when setting custom_payload

Fixes #285
  • Loading branch information
xlts committed Apr 19, 2019
1 parent 244ce40 commit 6b3c229
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/lograge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def setup_custom_payload
base_classes.map! { |klass| klass.try(:constantize) }
if base_classes.empty?
base_classes << ActionController::Base
base_classes << ActionCable::Channel::Base if defined?(ActionCable)
end

base_classes.each do |base_class|
Expand Down

0 comments on commit 6b3c229

Please sign in to comment.