diff options
author | Brandon Weaver <baweaver@users.noreply.github.com> | 2016-12-14 17:17:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-14 17:17:44 -0800 |
commit | 6a116bd9091fc68dc26317b398ebcbdfe8c34155 (patch) | |
tree | 5abd42d0d0201f279faf01592eb57389231ffc2f /actioncable/lib/rails/generators/channel/templates/channel.rb | |
parent | 1f0fe334f577479ad524cb990bef4454585857c0 (diff) | |
download | rails-6a116bd9091fc68dc26317b398ebcbdfe8c34155.tar.gz rails-6a116bd9091fc68dc26317b398ebcbdfe8c34155.tar.bz2 rails-6a116bd9091fc68dc26317b398ebcbdfe8c34155.zip |
Add note on defaults block option
When I was looking for how to default the entire routes file to JSON I could only find the postfix option. It was mentioned on IRC that you could do this with a block as well and I had not found it in the documentation.
Diffstat (limited to 'actioncable/lib/rails/generators/channel/templates/channel.rb')
0 files changed, 0 insertions, 0 deletions