lib/write_down/model/slide.rb in write_down-0.2.1 vs lib/write_down/model/slide.rb in write_down-0.2.2

- old
+ new

@@ -4,10 +4,10 @@ module WriteDown module Model class Slide < Base def render - template = File.expand_path('../erb/slide.erb', __FILE__) + template = File.expand_path('../../erb/slide.erb', __FILE__) html_string = ERB.new(File.read(template)).result(binding) end def body PandocRuby.convert(@content, { f: :org, to: :html5}, 'no-highlight')