Skip to content

Commit

Permalink
quick fix for madebymany#39
Browse files Browse the repository at this point in the history
  • Loading branch information
firedev committed Apr 7, 2015
1 parent acbaf9f commit 6be7518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sir_trevor_rails/blocks/video_block.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
end

0 comments on commit 6be7518

Please sign in to comment.