Sha256: c51ef295317fb9ca23de0921a0534fc37dfd7f143277fd76f8a578eb92235569
Contents?: true
Size: 331 Bytes
Versions: 29
Compression:
Stored size: 331 Bytes
Contents
module VideojsRails module ViewHelpers def videojs_rails(*options, &blk) default_options = { controls: true, preload: "auto" } options = default_options.merge(options.extract_options!) render partial: 'videojs_rails/videojs_rails', locals: { options: options }, &blk end end end
Version data entries
29 entries across 29 versions & 1 rubygems