lib/dust-cms.rb in dust-cms-0.0.05 vs lib/dust-cms.rb in dust-cms-0.0.06
- old
+ new
@@ -35,9 +35,13 @@
def site_wides
Dust::SiteWide.all_to_object
end
+ def default_recipient
+ Dust.site_wides.contact_info.default_recipient || "no-reply@dust.com"
+ end
+
def configure(&block)
instance_eval &block
@config
end