lib/slide_hero/presentation.rb in slide_hero-0.0.3 vs lib/slide_hero/presentation.rb in slide_hero-0.0.4

- old
+ new

@@ -8,11 +8,10 @@ @slide_defaults = {} instance_eval(&block) end def compile - gem_path = Gem.loaded_specs['slide_hero'].full_gem_path - Tilt::ERBTemplate.new(File.join(gem_path, + Tilt::ERBTemplate.new(File.join(SlideHero.template_path, 'lib/slide_hero/views/layout.html.erb')). render(self) do collected_slides end end