Fix v0 URL param

This commit is contained in:
Marcin Kulik 2016-01-19 10:27:38 +00:00
parent 430c2654dc
commit 0f684f46ae

View File

@ -2,7 +2,7 @@ module AsciicastsHelper
def player(asciicast, options = PlaybackOptions.new, skip_titlebar = false) def player(asciicast, options = PlaybackOptions.new, skip_titlebar = false)
render 'asciicasts/player', render 'asciicasts/player',
asciicast: AsciicastSerializer.new(asciicast, playback_options: options), asciicast: AsciicastSerializer.new(asciicast, v0: options.v0),
options: options, options: options,
skip_titlebar: skip_titlebar skip_titlebar: skip_titlebar
end end