From a21f6c8761242f2b3dd0463085889f4cf6907269 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 7 Jul 2015 16:46:13 +0200 Subject: Go with process_action to match language from Action Controller --- lib/action_cable/channel/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/action_cable/channel') diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb index 1ec4ee5fe9..8e5a4e9cbc 100644 --- a/lib/action_cable/channel/base.rb +++ b/lib/action_cable/channel/base.rb @@ -19,7 +19,7 @@ module ActionCable subscribe_to_channel end - def perform_action(data) + def process_action(data) if authorized? action = extract_action(data) -- cgit v1.2.3