diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-07-13 14:20:41 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-07-13 14:20:41 +0200 |
commit | ed7658f1f3ac9d2a91e61187645cf7531a0a0db4 (patch) | |
tree | fadca01f3b98adb9dd8788096ea60c99b83be2cf | |
parent | c7dc339b1dbdb1982d82536d87b6e654e7b7108d (diff) | |
parent | e6812303e62dfb1dec18059aa31c07f1ca724c45 (diff) | |
download | rails-ed7658f1f3ac9d2a91e61187645cf7531a0a0db4.tar.gz rails-ed7658f1f3ac9d2a91e61187645cf7531a0a0db4.tar.bz2 rails-ed7658f1f3ac9d2a91e61187645cf7531a0a0db4.zip |
Merge pull request #25 from lsylvester/update-readme-to-remove-js
Update README to use coffeescript all the time
-rw-r--r-- | README.md | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -82,14 +82,9 @@ potentially disconnect them all if the user is deleted or deauthorized). The client-side needs to setup a consumer instance of this connection. That's done like so: -```javascript -//app/assets/javascripts/application.js - -//= require cable -``` - ```coffeescript # app/assets/javascripts/application_cable.coffee +#= require cable @App = {} App.cable = Cable.createConsumer "ws://cable.example.com" |