diff --git a/lib/sir_trevor_rails/blocks/video_block.rb b/lib/sir_trevor_rails/blocks/video_block.rb index 759dbb7..11b4d7d 100644 --- a/lib/sir_trevor_rails/blocks/video_block.rb +++ b/lib/sir_trevor_rails/blocks/video_block.rb @@ -2,8 +2,8 @@ module SirTrevorRails module Blocks class VideoBlock < SirTrevorRails::Block def to_partial_path - "sir_trevor/blocks/videos/" << self.source + "sir_trevor/blocks/videos/" << (self.source || 'youtube') end end end -end \ No newline at end of file +end