Allow size to be passed to player helper in options

This commit is contained in:
Marcin Kulik 2013-11-18 14:24:35 +01:00
parent 3041a646e2
commit 249117f80a

View File

@ -23,7 +23,7 @@ module AsciicastsHelper
renderer_class: renderer_class,
auto_play: options.key?(:auto_play) ? !!options[:auto_play] : false,
hud: options.key?(:hud) ? !!options[:hud] : true,
size: params[:size] || 'small'
size: options[:size] || params[:size] || 'small'
}
end