instance method
broadcast_target_default
Ruby on Rails 2.0.23
Since v1.3.3 Last seen in v2.0.23Signature
broadcast_target_default()
All default targets will use the return of this method. Overwrite if you want something else than model_name.plural.
Source
# File app/models/concerns/turbo/broadcastable.rb, line 222
def broadcast_target_default
model_name.plural
end
Defined in app/models/concerns/turbo/broadcastable.rb line 222
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Turbo::Broadcastable::ClassMethods