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:
parent
14628ffbff
commit
2b33675528
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue