diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-02-22 21:22:22 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-02-22 21:22:22 +0000 |
commit | 630e709ea6cb535b45a9cbd89c08c572646f5608 (patch) | |
tree | 5478b9f0bd4a464195bc78e6e6f9147bcd6e102e /actioncable/lib/action_cable/subscription_adapter/evented_redis.rb | |
parent | a5b83123177b41a1b9cc7fabe89e408228efcd19 (diff) | |
download | rails-630e709ea6cb535b45a9cbd89c08c572646f5608.tar.gz rails-630e709ea6cb535b45a9cbd89c08c572646f5608.tar.bz2 rails-630e709ea6cb535b45a9cbd89c08c572646f5608.zip |
Clarify use of params in `direct`
Since a `direct` url helper block is evaluated using `instance_exec`
then methods that are available in the instance context can be
accessed, e.g. the params object in a controller action or view.
This wasn't clear from the example so expand on that point and add
a test case for this situation.
Diffstat (limited to 'actioncable/lib/action_cable/subscription_adapter/evented_redis.rb')
0 files changed, 0 insertions, 0 deletions