1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Associate comments with perform

This commit is contained in:
Javan Makhmali 2015-12-11 17:17:18 -05:00
parent 14628ffbff
commit 2b33675528

View file

@ -151,12 +151,12 @@ App.cable.subscriptions.create "AppearanceChannel",
rejected: ->
@uninstall()
# Calls `AppearanceChannel#appear(data)` on the server
appear: ->
# Calls `AppearanceChannel#appear(data)` on the server
@perform("appear", appearing_on: $("main").data("appearing-on"))
# Calls `AppearanceChannel#away` on the server
away: ->
# Calls `AppearanceChannel#away` on the server
@perform("away")