lib/courier/service/gritter_notice.rb in courier-0.1.5 vs lib/courier/service/gritter_notice.rb in courier-0.2.0
- old
+ new
@@ -16,10 +16,10 @@
# image: /images/warning.png
#
#
def message(owner, template, options)
- scope = [:courier, :gritter_notice]
+ scope = [:courier, :services, :gritter_notice]
opt = I18n::translate(template.name, :scope=>scope)
opt.merge!(options)
opt[:text]||=I18n::translate([template.name,:text], opt.merge(:scope=>scope) )
owner.gritter_notice template.name, opt
end