Permalink
Browse files

Fix templates attribution in templates method

  • Loading branch information...
inescoelho committed Aug 11, 2015
1 parent 8e0c837 commit cc30680faa99e38a2b425e7d57a52712d7904ddd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/lotus/mailer/dsl.rb
View
@@ -119,7 +119,7 @@ def templates(value = nil)
if value.nil?
# If no templates are given, use the default templates instead
if @templates.empty?
Mailer::Rendering::TemplatesFinder.new(self).find
@templates = Mailer::Rendering::TemplatesFinder.new(self).find
else
@templates
end

0 comments on commit cc30680

Please sign in to comment.