Skip to content

Commit 6b2528b

Browse files
committed
Adds logging statement for incoming faye messages
Signed-off-by: Akash Manohar J <[email protected]>
1 parent 81a35d3 commit 6b2528b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/faye_extensions/devise_auth.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class DeviseAuth
22
def incoming(message, callback)
33
if message['channel'] == "/meta/subscribe"
4+
puts "MESSAGE: #{message.inspect}"
45
auth_token = message['ext']['auth_token']
56
user = User.find_by_authentication_token(auth_token)
67
if user

0 commit comments

Comments
 (0)