Allow size to be passed to player helper in options
This commit is contained in:
parent
3041a646e2
commit
249117f80a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user